Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.001244/0.001244, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001349/0.001349, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.362/1.362, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2194/0.2194, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002085, allocations: 64.48 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1536, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.004752/0.1584, allocations: 1.696 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.1607, allocations: 0.8847 MB / 472 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1608, allocations: 0 / 472 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.1612, allocations: 39.77 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.1615, allocations: 51.77 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.162, allocations: 111.6 kB / 472.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.1623, allocations: 95.69 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1624, allocations: 12.23 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1626, allocations: 43.78 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.1627, allocations: 27.84 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.1627, allocations: 4 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.1629, allocations: 43.98 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.163, allocations: 19.92 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.261e-05/0.1631, allocations: 43.61 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1634, allocations: 107.9 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1634, allocations: 4 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1634, allocations: 0 / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1635, allocations: 0 / 472.5 MB, free: 11.08 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.0007412/0.1642, allocations: 411 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.1643, allocations: 8.031 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.1643, allocations: 38.75 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.1644, allocations: 12.75 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.1647, allocations: 200.1 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1648, allocations: 4.375 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.1648, allocations: 15.92 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.165, allocations: 57.61 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1651, allocations: 0 / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.1651, allocations: 4 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1651, allocations: 0 / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.1653, allocations: 19.98 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.1658, allocations: 280.9 kB / 473.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.1661, allocations: 62.61 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.394e-05/0.1662, allocations: 20.8 kB / 473.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.1663, allocations: 4 kB / 473.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003583/0.1666, allocations: 67.38 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.1666, allocations: 0 / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008746/0.1675, allocations: 177.2 kB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.1676, allocations: 51.41 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.1679, allocations: 190.1 kB / 474.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.168, allocations: 29.7 kB / 474.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.1681, allocations: 104.1 kB / 474.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/0.1681, allocations: 19.72 kB / 474.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.1682, allocations: 25.7 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1684, allocations: 326.8 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.1685, allocations: 16.38 kB / 474.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1686, allocations: 41.64 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.1688, allocations: 57.7 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1688, allocations: 4 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003217/0.1692, allocations: 105.4 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1692, allocations: 12.22 kB / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1692, allocations: 0 / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.1693, allocations: 3.938 kB / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1694, allocations: 16 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1694, allocations: 4 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.99e-05/0.1695, allocations: 7.922 kB / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1695, allocations: 4 kB / 474.9 MB, free: 8.484 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.0001595/0.1697, allocations: 125.8 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.1698, allocations: 11.91 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/0.1698, allocations: 20.7 kB / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1698, allocations: 0 / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1699, allocations: 0 / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.1699, allocations: 3.938 kB / 475.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/0.1705, allocations: 387.3 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1705, allocations: 0 / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.1706, allocations: 11.98 kB / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.1706, allocations: 3.938 kB / 475.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.1706, allocations: 8.031 kB / 475.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1706, allocations: 0 / 475.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1706, allocations: 3.938 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.171, allocations: 208.1 kB / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.1711, allocations: 85.02 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.1711, allocations: 3.938 kB / 475.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.1712, allocations: 11.98 kB / 475.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.1713, allocations: 4 kB / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1713, allocations: 4 kB / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.1715, allocations: 147.2 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1715, allocations: 0 / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004942/0.172, allocations: 24 kB / 475.9 MB, free: 7.332 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.002262/0.1743, allocations: 1.108 MB / 477 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.1746, allocations: 71.89 kB / 477.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1746, allocations: 0 / 477.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1747, allocations: 24 kB / 477.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.1753, allocations: 23.97 kB / 477.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.1778, allocations: 1.627 MB / 478.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.1782, allocations: 0.708 MB / 479.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.748e-05/0.1783, allocations: 21.17 kB / 479.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.956e-05/0.1784, allocations: 31.42 kB / 479.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1784, allocations: 0 / 479.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.2032, allocations: 3.282 MB / 482.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/7.74, allocations: 20.5 kB / 482.9 MB, free: 0.543 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches