Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007524/0.0007524, allocations: 93.22 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.0009294/0.0009294, 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.483/1.483, allocations: 227.7 MB / 246.8 MB, free: 11.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002882, allocations: 12 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 63.55 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002323/0.1262, allocations: 1.454 MB / 484.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.128, allocations: 0.9941 MB / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1281, allocations: 0 / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.1285, allocations: 43.83 kB / 485.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.1288, allocations: 83.73 kB / 485.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.129, allocations: 67.8 kB / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.1292, allocations: 103.6 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.1293, allocations: 12 kB / 485.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1294, allocations: 39.78 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.129e-05/0.1295, allocations: 39.78 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1295, allocations: 4 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1297, allocations: 39.98 kB / 486.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.327e-05/0.1297, allocations: 27.84 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.837e-05/0.1298, allocations: 65.39 kB / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.13, allocations: 119.9 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.13, allocations: 4 kB / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1301, allocations: 0 / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1301, allocations: 0 / 486.3 MB, free: 0.9336 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.000579/0.1306, allocations: 411 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1307, allocations: 8.875 kB / 486.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.1308, allocations: 34.73 kB / 486.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.1308, allocations: 20.75 kB / 486.7 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1311, allocations: 220.7 kB / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1311, allocations: 384 / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1311, allocations: 7.938 kB / 487 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1313, allocations: 53.67 kB / 487 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1313, allocations: 0 / 487 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1313, allocations: 0 / 487 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1313, allocations: 8 kB / 487 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.265e-05/0.1314, allocations: 19.98 kB / 487 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.1318, allocations: 292.8 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1319, allocations: 58.62 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.132, allocations: 28.84 kB / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.132, allocations: 4 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.1322, allocations: 63.39 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1322, allocations: 0 / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005216/0.1327, allocations: 181.1 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.1328, allocations: 51.41 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.133, allocations: 238.1 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.133, allocations: 37.7 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.1331, allocations: 104.1 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.1331, allocations: 27.59 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.1331, allocations: 21.7 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.1332, allocations: 322.8 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.1333, allocations: 23.92 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.016e-05/0.1334, allocations: 41.64 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1335, allocations: 53.72 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1335, allocations: 0 / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.1337, allocations: 109.4 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1337, allocations: 4 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1337, allocations: 4 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1337, allocations: 0 / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.502e-05/0.1338, allocations: 15.98 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1338, allocations: 7.922 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.1339, allocations: 11.97 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.1339, allocations: 8 kB / 488.7 MB, free: 14.24 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 9.685e-05/0.134, allocations: 128.6 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.134, allocations: 11.81 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.1341, allocations: 21.41 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1341, allocations: 0 / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1341, allocations: 0 / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1341, allocations: 11.92 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.1345, allocations: 395.3 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1345, allocations: 0 / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.1346, allocations: 11.98 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1346, allocations: 3.938 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1346, allocations: 4 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1346, allocations: 0 / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1346, allocations: 240 / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1348, allocations: 220.1 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.1349, allocations: 92.91 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1349, allocations: 8.312 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.135, allocations: 4 kB / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.135, allocations: 3.984 kB / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.135, allocations: 8 kB / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.1352, allocations: 176.4 kB / 489.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1352, allocations: 4 kB / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1355, allocations: 23.98 kB / 489.8 MB, free: 13.03 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.00133/0.1368, allocations: 1.085 MB / 490.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.137, allocations: 67.89 kB / 491 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.137, allocations: 0 / 491 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.137, allocations: 23.98 kB / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.1374, allocations: 33.83 kB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1391, allocations: 1.755 MB / 492.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.1393, allocations: 0.7159 MB / 493.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.619e-05/0.1394, allocations: 17.19 kB / 493.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.1394, allocations: 39.42 kB / 493.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1395, allocations: 4 kB / 493.5 MB, free: 9.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.1516, allocations: 3.167 MB / 496.7 MB, free: 6.277 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.1518, allocations: 236 kB / 496.9 MB, free: 6.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/1.902, allocations: 8.062 kB / 497 MB, free: 6.02 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches