Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 104.1 kB / 17.64 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2176/0.2176, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 62.33 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1164, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003595/0.1201, allocations: 1.707 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1217, allocations: 0.8886 MB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.6e-05/0.1218, allocations: 3.938 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.1221, allocations: 31.83 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.1224, allocations: 59.69 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.1227, allocations: 110.9 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.1229, allocations: 91.77 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.123, allocations: 24.14 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.927e-05/0.1231, allocations: 43.78 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.1232, allocations: 23.86 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.1232, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1233, allocations: 43.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.1234, allocations: 19.91 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.1234, allocations: 35.75 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.1236, allocations: 115.9 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1237, allocations: 0 / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1237, allocations: 3.938 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1237, allocations: 0 / 472.6 MB, free: 11.05 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.0005752/0.1243, allocations: 414.9 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1243, allocations: 15.97 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.1243, allocations: 34.75 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.1244, allocations: 8.844 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1246, allocations: 210.7 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1246, allocations: 8.375 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1247, allocations: 7.938 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1248, allocations: 49.67 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1248, allocations: 0 / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1248, allocations: 7.938 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1249, allocations: 4 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.714e-05/0.1249, allocations: 15.98 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.1253, allocations: 292.8 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.1255, allocations: 58.69 kB / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.1255, allocations: 24.78 kB / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1256, allocations: 0 / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.1258, allocations: 63.39 kB / 473.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1258, allocations: 8 kB / 473.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005346/0.1263, allocations: 177.3 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.1264, allocations: 51.41 kB / 474 MB, free: 9.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.1266, allocations: 203.3 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1266, allocations: 29.7 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.1267, allocations: 100.1 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.1267, allocations: 23.7 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.1268, allocations: 29.7 kB / 474.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1269, allocations: 322.8 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.127, allocations: 20 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.428e-05/0.127, allocations: 37.7 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.1271, allocations: 57.64 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1271, allocations: 0 / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.1274, allocations: 113.4 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1274, allocations: 4 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1274, allocations: 0 / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1274, allocations: 0 / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1275, allocations: 16.19 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1275, allocations: 3.938 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.1276, allocations: 11.86 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1276, allocations: 4 kB / 474.9 MB, free: 8.426 MB / 350.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 0.0001028/0.1277, allocations: 129.8 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.1278, allocations: 11.94 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.1278, allocations: 17.39 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1278, allocations: 7.938 kB / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1278, allocations: 0 / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1278, allocations: 3.938 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.1283, allocations: 387.4 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1283, allocations: 3.938 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.1283, allocations: 11.98 kB / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1283, allocations: 7.969 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.1283, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1284, allocations: 4 kB / 475.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1284, allocations: 0 / 475.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.1286, allocations: 208.4 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.1287, allocations: 85.02 kB / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.1287, allocations: 11.92 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.1288, allocations: 8 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.1288, allocations: 3.938 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1288, allocations: 7.984 kB / 475.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.129, allocations: 148 kB / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.129, allocations: 0 / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1292, allocations: 27.98 kB / 476 MB, free: 7.258 MB / 350.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.001481/0.1307, allocations: 1.091 MB / 477.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.1309, allocations: 67.91 kB / 477.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1309, allocations: 0 / 477.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/0.131, allocations: 31.92 kB / 477.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1314, allocations: 30.88 kB / 477.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.1331, allocations: 1.648 MB / 478.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1334, allocations: 0.7119 MB / 479.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.24e-05/0.1334, allocations: 21.17 kB / 479.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.1335, allocations: 35.42 kB / 479.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1335, allocations: 0 / 479.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.1535, allocations: 3.341 MB / 483 MB, free: 420 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.648, allocations: 7.984 kB / 483 MB, free: 412 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches