Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",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.001365/0.001365, allocations: 108.1 kB / 17.33 MB, free: 6.008 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.001394/0.001394, allocations: 193.3 kB / 18.25 MB, free: 5.098 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.527/1.527, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2808/0.2808, allocations: 44.18 MB / 336.2 MB, free: 2.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.47 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1225, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003293/0.1258, allocations: 1.765 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1272, allocations: 0.8537 MB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.1273, allocations: 3.938 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.1276, allocations: 35.91 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.1279, allocations: 55.81 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1282, allocations: 91.77 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.1284, allocations: 95.7 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1285, allocations: 8.234 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.1286, allocations: 51.77 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.1287, allocations: 23.86 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1287, allocations: 4 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1288, allocations: 43.98 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.455e-05/0.1289, allocations: 31.84 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.129, allocations: 43.66 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1292, allocations: 107.9 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1292, allocations: 4 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1292, allocations: 0 / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1293, allocations: 3.984 kB / 472 MB, free: 11.38 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.0006017/0.1299, allocations: 418.9 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.1299, allocations: 12.03 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.13, allocations: 34.73 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.13, allocations: 8.844 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1303, allocations: 220.7 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1303, allocations: 384 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.1303, allocations: 7.938 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1305, allocations: 53.67 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1305, allocations: 0 / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1305, allocations: 4 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1305, allocations: 0 / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.604e-05/0.1306, allocations: 19.98 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.131, allocations: 284.8 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1312, allocations: 62.61 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.1312, allocations: 20.86 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1313, allocations: 4 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.1315, allocations: 63.39 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1315, allocations: 0 / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005535/0.1321, allocations: 185.1 kB / 473.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.1321, allocations: 55.41 kB / 473.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.1323, allocations: 199.3 kB / 473.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1323, allocations: 25.7 kB / 473.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.1324, allocations: 108.1 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.1324, allocations: 27.64 kB / 473.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.1325, allocations: 17.72 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1326, allocations: 326.8 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.424e-05/0.1327, allocations: 19.98 kB / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.311e-05/0.1327, allocations: 37.7 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1329, allocations: 65.77 kB / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1329, allocations: 0 / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001771/0.1331, allocations: 101.4 kB / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1331, allocations: 8.188 kB / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1331, allocations: 0 / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1331, allocations: 7.875 kB / 474.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1332, allocations: 19.98 kB / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1333, allocations: 11.97 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.1333, allocations: 3.938 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1333, allocations: 4 kB / 474.4 MB, free: 8.742 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.0001782/0.1335, allocations: 129.8 kB / 474.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.1335, allocations: 11.91 kB / 474.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.1336, allocations: 13.41 kB / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1336, allocations: 0 / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1336, allocations: 0 / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1336, allocations: 7.938 kB / 474.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.1341, allocations: 395.3 kB / 475 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1341, allocations: 0 / 475 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.1341, allocations: 8 kB / 475 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1341, allocations: 7.938 kB / 475 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1341, allocations: 0 / 475 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1342, allocations: 0 / 475 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1342, allocations: 4 kB / 475 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.1345, allocations: 208.2 kB / 475.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.1345, allocations: 88.98 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.1346, allocations: 7.938 kB / 475.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.1346, allocations: 384 / 475.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.1347, allocations: 11.98 kB / 475.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1347, allocations: 8 kB / 475.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.1349, allocations: 156.9 kB / 475.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1349, allocations: 0 / 475.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1351, allocations: 16 kB / 475.5 MB, free: 7.586 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.001418/0.1365, allocations: 1.115 MB / 476.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1368, allocations: 63.92 kB / 476.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1368, allocations: 0 / 476.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.1369, allocations: 23.98 kB / 476.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1372, allocations: 32.09 kB / 476.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.1392, allocations: 1.674 MB / 478.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1396, allocations: 0.7041 MB / 479.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.049e-05/0.1397, allocations: 13.19 kB / 479.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/0.1398, allocations: 35.42 kB / 479.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of SimCode: time 2.755e-06/0.1398, allocations: 0 / 479.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.1539, allocations: 3.273 MB / 482.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.1541, allocations: 231.2 kB / 482.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/1.978, allocations: 0 / 482.6 MB, free: 0.5586 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches