Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.001505/0.001504, allocations: 101.1 kB / 16.27 MB, free: 5.93 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.001595/0.001595, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2255/0.2255, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 69.88 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1171, allocations: 57.79 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003043/0.1202, allocations: 1.837 MB / 442.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1215, allocations: 0.8935 MB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.1215, allocations: 4 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.1219, allocations: 255.4 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.1222, allocations: 183.4 kB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.1224, allocations: 143.5 kB / 443.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1226, allocations: 243.4 kB / 444.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.48e-05/0.1227, allocations: 21.48 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1228, allocations: 127.5 kB / 444.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.123, allocations: 179.5 kB / 444.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.123, allocations: 8 kB / 444.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.993e-05/0.1231, allocations: 47.98 kB / 444.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.1232, allocations: 63.7 kB / 444.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.1232, allocations: 83.36 kB / 444.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1235, allocations: 219.2 kB / 444.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1235, allocations: 0 / 444.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1235, allocations: 0 / 444.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.1235, allocations: 0 / 444.9 MB, free: 2.48 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006413/0.1241, allocations: 0.5563 MB / 445.5 MB, free: 1.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1242, allocations: 15.89 kB / 445.5 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.1242, allocations: 42.73 kB / 445.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.1243, allocations: 32.55 kB / 445.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1245, allocations: 280 kB / 445.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1246, allocations: 8.359 kB / 445.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.1246, allocations: 11.94 kB / 445.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.1248, allocations: 95.3 kB / 445.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1248, allocations: 0 / 445.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1249, allocations: 8 kB / 445.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1249, allocations: 0 / 445.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.125, allocations: 39.97 kB / 446 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.1254, allocations: 460.8 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.1256, allocations: 117.3 kB / 446.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.1257, allocations: 41.69 kB / 446.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1258, allocations: 4 kB / 446.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.126, allocations: 113 kB / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.126, allocations: 0 / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007301/0.1267, allocations: 391.8 kB / 447.1 MB, free: 88 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1268, allocations: 81.05 kB / 447.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/0.1272, allocations: 481.7 kB / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1272, allocations: 29.7 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1274, allocations: 164.3 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.1274, allocations: 47.39 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.1275, allocations: 37.7 kB / 447.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1276, allocations: 350.7 kB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1277, allocations: 39.94 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.1279, allocations: 80.55 kB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.1281, allocations: 123.4 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1281, allocations: 0 / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000308/0.1284, allocations: 185.1 kB / 448.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1284, allocations: 4 kB / 448.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1285, allocations: 8.062 kB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1285, allocations: 0 / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.1286, allocations: 39.86 kB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1286, allocations: 0 / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.703e-05/0.1287, allocations: 11.98 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1287, allocations: 4 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001455/0.1289, allocations: 169.8 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.1289, allocations: 31.62 kB / 448.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.076e-05/0.129, allocations: 38.81 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.129, allocations: 7.938 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.129, allocations: 7.984 kB / 449 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1291, allocations: 0 / 449 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.1298, allocations: 0.6244 MB / 449.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1298, allocations: 0 / 449.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.1298, allocations: 20 kB / 449.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.1298, allocations: 7.984 kB / 449.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1299, allocations: 8.734 kB / 449.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1299, allocations: 4 kB / 449.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1299, allocations: 0 / 449.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.1303, allocations: 380 kB / 450 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.1303, allocations: 100.7 kB / 450.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.1304, allocations: 4 kB / 450.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.1305, allocations: 19.92 kB / 450.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.1306, allocations: 7.984 kB / 450.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1306, allocations: 12 kB / 450.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003085/0.1309, allocations: 359.1 kB / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1309, allocations: 0 / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003377/0.1312, allocations: 40 kB / 450.6 MB, free: 12.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001733/0.133, allocations: 1.261 MB / 451.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.1333, allocations: 123.8 kB / 451.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1333, allocations: 0 / 451.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.1334, allocations: 64.03 kB / 452 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.1339, allocations: 59.36 kB / 452.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.137, allocations: 2.766 MB / 454.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.1375, allocations: 0.7748 MB / 455.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.832e-05/0.1376, allocations: 29.92 kB / 455.6 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.1377, allocations: 87.41 kB / 455.7 MB, free: 7.18 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1377, allocations: 0 / 455.7 MB, free: 7.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.1643, allocations: 5.876 MB / 461.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/7.892, allocations: 7.844 kB / 461.6 MB, free: 1.27 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches