Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.001549/0.001549, allocations: 106.8 kB / 17.33 MB, free: 5.996 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.001646/0.001646, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.498/1.498, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2411/0.2411, allocations: 44.18 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 71.59 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1389, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.004065/0.143, allocations: 1.757 MB / 470.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1447, allocations: 0.8575 MB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1448, allocations: 8 kB / 471.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.1453, allocations: 79.77 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.1456, allocations: 63.8 kB / 471.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.146, allocations: 103.5 kB / 471.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.1463, allocations: 107.7 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1464, allocations: 16.22 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1465, allocations: 47.78 kB / 471.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1466, allocations: 59.81 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.1467, allocations: 4 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1468, allocations: 39.98 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.1469, allocations: 23.91 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.986e-05/0.1469, allocations: 39.69 kB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.1472, allocations: 119.8 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1472, allocations: 0 / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1472, allocations: 0 / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1472, allocations: 0 / 472.1 MB, free: 11.3 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.0006067/0.1478, allocations: 422.9 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.1479, allocations: 8.031 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.1479, allocations: 34.75 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.148, allocations: 12.83 kB / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.1483, allocations: 220.4 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1483, allocations: 384 / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.1483, allocations: 7.938 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.1485, allocations: 57.61 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1485, allocations: 7.984 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1486, allocations: 0 / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1486, allocations: 0 / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.1487, allocations: 19.98 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.1491, allocations: 284.9 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.1493, allocations: 62.62 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.1494, allocations: 20.84 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1494, allocations: 0 / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.1496, allocations: 67.39 kB / 473.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.1496, allocations: 3.938 kB / 473.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005797/0.1502, allocations: 181 kB / 473.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.1503, allocations: 55.41 kB / 473.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1505, allocations: 219.4 kB / 473.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1505, allocations: 29.7 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.1506, allocations: 100.1 kB / 473.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.1506, allocations: 31.62 kB / 473.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.1507, allocations: 21.72 kB / 474 MB, free: 9.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1508, allocations: 330.8 kB / 474.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.1508, allocations: 15.98 kB / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.1509, allocations: 41.7 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.151, allocations: 57.7 kB / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.151, allocations: 0 / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.1512, allocations: 97.53 kB / 474.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1513, allocations: 4 kB / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1513, allocations: 0 / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1513, allocations: 4 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1514, allocations: 24.02 kB / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1514, allocations: 0 / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.265e-05/0.1515, allocations: 11.88 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.1515, allocations: 384 / 474.5 MB, free: 8.652 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.0001043/0.1516, allocations: 133.8 kB / 474.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.1516, allocations: 15.81 kB / 474.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.1517, allocations: 17.39 kB / 474.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1517, allocations: 0 / 474.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.1517, allocations: 4 kB / 474.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1517, allocations: 12.12 kB / 474.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.1522, allocations: 391.3 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1522, allocations: 3.938 kB / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.1522, allocations: 11.98 kB / 475.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1522, allocations: 3.938 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1522, allocations: 0 / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.1523, allocations: 4 kB / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1523, allocations: 32 / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.1525, allocations: 208.4 kB / 475.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.1526, allocations: 85.02 kB / 475.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1526, allocations: 7.875 kB / 475.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.1527, allocations: 11.98 kB / 475.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.1527, allocations: 0 / 475.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1527, allocations: 8 kB / 475.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1529, allocations: 163.2 kB / 475.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1529, allocations: 0 / 475.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1532, allocations: 24 kB / 475.6 MB, free: 7.465 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.001444/0.1546, allocations: 1.105 MB / 476.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1548, allocations: 55.92 kB / 476.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1548, allocations: 0 / 476.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.477e-05/0.1549, allocations: 32.05 kB / 476.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1552, allocations: 23.98 kB / 476.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.157, allocations: 1.71 MB / 478.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1573, allocations: 0.7119 MB / 479.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.013e-05/0.1574, allocations: 16.84 kB / 479.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.1575, allocations: 39.42 kB / 479.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1575, allocations: 0 / 479.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.172, allocations: 3.322 MB / 482.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.1722, allocations: 233.6 kB / 482.9 MB, free: 356 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.099, allocations: 3.938 kB / 482.9 MB, free: 352 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches