Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.001649/0.001649, allocations: 108.1 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.001922/0.001922, 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.429/1.429, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.242/0.242, allocations: 44.17 MB / 336.2 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.81 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1563, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.004005/0.1604, allocations: 1.787 MB / 470.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1619, allocations: 0.8653 MB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.1619, allocations: 4 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.1623, allocations: 83.83 kB / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.1626, allocations: 75.72 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1629, allocations: 95.58 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1631, allocations: 115.7 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1632, allocations: 19.98 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.1633, allocations: 55.77 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1634, allocations: 71.69 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1635, allocations: 4 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.1636, allocations: 63.97 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.1637, allocations: 19.92 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.1637, allocations: 43.73 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.164, allocations: 135.8 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.164, allocations: 0 / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.164, allocations: 0 / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.164, allocations: 0 / 472.2 MB, free: 11.19 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005996/0.1646, allocations: 434.9 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.1646, allocations: 8.031 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.1647, allocations: 30.75 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.1648, allocations: 20.75 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.165, allocations: 220.5 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.165, allocations: 384 / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.1651, allocations: 15.84 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1653, allocations: 57.67 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1653, allocations: 3.984 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1653, allocations: 4 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1653, allocations: 3.938 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.241e-05/0.1654, allocations: 19.98 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.1658, allocations: 296.8 kB / 473.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1661, allocations: 62.55 kB / 473.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.336e-05/0.1662, allocations: 28.92 kB / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1662, allocations: 0 / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.1664, allocations: 71.38 kB / 473.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.1664, allocations: 0 / 473.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000791/0.1672, allocations: 241.6 kB / 473.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.1673, allocations: 55.34 kB / 473.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.1675, allocations: 234.5 kB / 474 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1675, allocations: 29.7 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.1676, allocations: 112.1 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.1677, allocations: 39.48 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.1677, allocations: 25.72 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1679, allocations: 326.8 kB / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.1679, allocations: 31.94 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.328e-05/0.168, allocations: 53.62 kB / 474.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.1682, allocations: 73.77 kB / 474.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1682, allocations: 0 / 474.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002205/0.1684, allocations: 129.4 kB / 474.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1684, allocations: 4 kB / 474.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1684, allocations: 4 kB / 474.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1685, allocations: 0 / 474.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.1685, allocations: 23.92 kB / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.1686, allocations: 8.031 kB / 474.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.1686, allocations: 4 kB / 474.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1686, allocations: 7.938 kB / 474.9 MB, free: 8.312 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 (13): * Single equations (assignments): 13 * 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.0001166/0.1687, allocations: 133.8 kB / 475 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.1688, allocations: 15.81 kB / 475 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.1688, allocations: 21.39 kB / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1688, allocations: 3.938 kB / 475 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1689, allocations: 0 / 475 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1689, allocations: 4 kB / 475 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.1694, allocations: 456 kB / 475.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1694, allocations: 0 / 475.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.1694, allocations: 12 kB / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1694, allocations: 0 / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1695, allocations: 11.97 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1695, allocations: 0 / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1695, allocations: 4.062 kB / 475.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1697, allocations: 236.9 kB / 475.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.1698, allocations: 88.92 kB / 475.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.1698, allocations: 7.922 kB / 475.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.1699, allocations: 12 kB / 475.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.1699, allocations: 11.98 kB / 475.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.17, allocations: 4 kB / 475.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.1701, allocations: 168.4 kB / 476 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1702, allocations: 7.938 kB / 476 MB, free: 7.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1704, allocations: 31.98 kB / 476.1 MB, free: 6.996 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001658/0.1721, allocations: 1.166 MB / 477.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.1723, allocations: 83.84 kB / 477.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1724, allocations: 4 kB / 477.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.1724, allocations: 35.92 kB / 477.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1728, allocations: 35.83 kB / 477.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.1748, allocations: 1.831 MB / 479.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1751, allocations: 0.7155 MB / 479.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.487e-05/0.1752, allocations: 24.62 kB / 480 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.1753, allocations: 43.42 kB / 480 MB, free: 3.117 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1753, allocations: 0 / 480 MB, free: 3.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.1915, allocations: 3.689 MB / 483.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.1917, allocations: 241.4 kB / 483.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.051, allocations: 0 / 483.9 MB, free: 15.29 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches