Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008824/0.0008825, allocations: 93.14 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1808/0.1808, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002292/0.0002292, allocations: 12 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.09006, allocations: 63.56 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.001742/0.09183, allocations: 1.442 MB / 484.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.09331, allocations: 1.001 MB / 485.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.09338, allocations: 4 kB / 485.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.09361, allocations: 31.84 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.09385, allocations: 71.75 kB / 485.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.09404, allocations: 67.86 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.09419, allocations: 99.64 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.569e-05/0.09428, allocations: 11.98 kB / 485.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.09436, allocations: 43.78 kB / 486 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.107e-05/0.09443, allocations: 27.8 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.09446, allocations: 4 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.709e-05/0.09455, allocations: 39.98 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.0946, allocations: 27.84 kB / 486 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.09467, allocations: 61.44 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.09484, allocations: 111.9 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.09485, allocations: 0 / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09486, allocations: 0 / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.09486, allocations: 0 / 486.2 MB, free: 0.9883 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.0004268/0.0953, allocations: 409.3 kB / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.09534, allocations: 8.875 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.09538, allocations: 30.75 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.09541, allocations: 8.844 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.09561, allocations: 222.5 kB / 486.9 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.09563, allocations: 8.375 kB / 486.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.09565, allocations: 3.938 kB / 486.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.09578, allocations: 53.67 kB / 486.9 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.0958, allocations: 7.984 kB / 487 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.09582, allocations: 4 kB / 487 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.09582, allocations: 0 / 487 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.0959, allocations: 23.98 kB / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.09623, allocations: 288.9 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.09639, allocations: 62.61 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.09646, allocations: 24.84 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.09648, allocations: 0 / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.09664, allocations: 67.39 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.09665, allocations: 0 / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004743/0.09713, allocations: 169.2 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.09718, allocations: 51.41 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.09736, allocations: 206.7 kB / 487.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.09739, allocations: 25.7 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.09744, allocations: 104.1 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.09747, allocations: 23.7 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.09751, allocations: 21.7 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.09761, allocations: 322.8 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.09767, allocations: 20 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.09774, allocations: 33.7 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.09786, allocations: 61.77 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.09787, allocations: 0 / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.09806, allocations: 109.4 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.09808, allocations: 4 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.09809, allocations: 0 / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.0981, allocations: 4 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.254e-05/0.09819, allocations: 12 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.0982, allocations: 3.938 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.09826, allocations: 15.95 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.09828, allocations: 8 kB / 488.6 MB, free: 14.38 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 8.75e-05/0.09837, allocations: 117.8 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.09839, allocations: 7.906 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.09844, allocations: 25.33 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.09845, allocations: 0 / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.09846, allocations: 0 / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.09846, allocations: 3.938 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.09887, allocations: 403.6 kB / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.09889, allocations: 0 / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.09892, allocations: 12 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.09893, allocations: 3.938 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.09895, allocations: 8.188 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.09896, allocations: 0 / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.09896, allocations: 3.938 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.09918, allocations: 200.3 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.09923, allocations: 96.91 kB / 489.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.09927, allocations: 7.938 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.09934, allocations: 0 / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.09938, allocations: 11.98 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.0994, allocations: 4 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.09952, allocations: 152.7 kB / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09953, allocations: 4 kB / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.0998, allocations: 24 kB / 489.6 MB, free: 13.2 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.001355/0.1012, allocations: 1.09 MB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.1013, allocations: 55.92 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1013, allocations: 0 / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.597e-05/0.1014, allocations: 27.98 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.1018, allocations: 40.03 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.1033, allocations: 1.662 MB / 492.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.1036, allocations: 0.7082 MB / 493.2 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.241e-05/0.1036, allocations: 12.88 kB / 493.2 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.1037, allocations: 35.42 kB / 493.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of SimCode: time 1.824e-06/0.1037, allocations: 0 / 493.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.1153, allocations: 3.019 MB / 496.3 MB, free: 6.699 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.1155, allocations: 233.2 kB / 496.5 MB, free: 6.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/1.785, allocations: 0 / 496.5 MB, free: 6.445 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches