Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007981/0.0007981, allocations: 96.88 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000953/0.000953, allocations: 199.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1946/0.1946, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002403/0.0002404, allocations: 8.375 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/0.09775, allocations: 63.57 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00173/0.09951, allocations: 1.45 MB / 484.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1009, allocations: 0.9902 MB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.101, allocations: 0 / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.1012, allocations: 39.83 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.1014, allocations: 67.75 kB / 485.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.1016, allocations: 67.81 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1018, allocations: 99.69 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.1018, allocations: 12 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.1019, allocations: 39.78 kB / 486 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.102, allocations: 35.78 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.102, allocations: 4 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.1021, allocations: 43.92 kB / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.1022, allocations: 15.92 kB / 486.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.1022, allocations: 57.5 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.1024, allocations: 103.9 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1024, allocations: 4 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1024, allocations: 0 / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1024, allocations: 0 / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004334/0.1029, allocations: 411.1 kB / 486.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1029, allocations: 8.875 kB / 486.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.1029, allocations: 30.75 kB / 486.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.103, allocations: 16.75 kB / 486.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1032, allocations: 208 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1032, allocations: 4.375 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1032, allocations: 3.938 kB / 486.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.1034, allocations: 53.67 kB / 486.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1034, allocations: 4 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1034, allocations: 4 kB / 486.9 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1034, allocations: 0 / 486.9 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.671e-05/0.1035, allocations: 23.97 kB / 487 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.1038, allocations: 288.9 kB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.1039, allocations: 54.67 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.104, allocations: 20.86 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.104, allocations: 0 / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.1042, allocations: 79.3 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1042, allocations: 0 / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004594/0.1047, allocations: 165.3 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1047, allocations: 55.34 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.1049, allocations: 193.9 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1049, allocations: 29.53 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.1049, allocations: 108 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.105, allocations: 23.66 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.105, allocations: 21.7 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.1051, allocations: 318.8 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.245e-05/0.1051, allocations: 20 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.1052, allocations: 41.7 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.1053, allocations: 57.64 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1053, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001655/0.1055, allocations: 101.6 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1055, allocations: 8 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1055, allocations: 0 / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.1055, allocations: 0 / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.715e-05/0.1056, allocations: 19.97 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1056, allocations: 4 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1057, allocations: 8.297 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1057, allocations: 4 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.977e-05/0.1058, allocations: 121.8 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.1058, allocations: 7.906 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.1059, allocations: 25.39 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1059, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1059, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1059, allocations: 7.938 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.1063, allocations: 399.4 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1063, allocations: 0 / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.1063, allocations: 11.98 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1063, allocations: 3.938 kB / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.1063, allocations: 0 / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1063, allocations: 4 kB / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1063, allocations: 3.938 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.1065, allocations: 200.3 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.1066, allocations: 92.91 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1066, allocations: 7.938 kB / 489.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.1067, allocations: 4 kB / 489.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.1067, allocations: 7.984 kB / 489.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1068, allocations: 7.938 kB / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.592e-05/0.1069, allocations: 137.8 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1069, allocations: 192 / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1071, allocations: 27.98 kB / 489.6 MB, free: 13.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/0.1084, allocations: 1.077 MB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.1086, allocations: 63.89 kB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1086, allocations: 0 / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.407e-05/0.1087, allocations: 32.05 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.109, allocations: 35.36 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1106, allocations: 1.646 MB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.1108, allocations: 0.7004 MB / 493.1 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.037e-05/0.1109, allocations: 20.81 kB / 493.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.111, allocations: 35.42 kB / 493.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.111, allocations: 4 kB / 493.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6931/0.8041, allocations: 2.947 MB / 496.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.8043, allocations: 241.2 kB / 496.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.759, allocations: 0 / 496.4 MB, free: 6.594 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches