Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.001547/0.001547, allocations: 99.64 kB / 15.98 MB, free: 5.863 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.001552/0.001552, allocations: 194.6 kB / 16.9 MB, free: 5.738 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.936/1.936, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3684/0.3684, allocations: 43.49 MB / 313.6 MB, free: 8.586 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.002154/0.002154, allocations: 67.89 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1514, allocations: 57.79 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003822/0.1553, allocations: 1.749 MB / 441.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1567, allocations: 0.7923 MB / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1568, allocations: 4 kB / 442.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.1572, allocations: 43.88 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.1574, allocations: 63.7 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1577, allocations: 75.83 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.1578, allocations: 95.77 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.158, allocations: 8.219 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.391e-05/0.158, allocations: 47.77 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.1581, allocations: 31.86 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1581, allocations: 8 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.1582, allocations: 39.98 kB / 443.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.1583, allocations: 35.78 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.1584, allocations: 51.66 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.1586, allocations: 119.8 kB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1586, allocations: 0 / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1586, allocations: 0 / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1586, allocations: 0 / 443.3 MB, free: 11.45 MB / 382.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.0005863/0.1592, allocations: 442.7 kB / 443.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1593, allocations: 19.89 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.1593, allocations: 34.75 kB / 443.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.1594, allocations: 12.84 kB / 443.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1597, allocations: 223.7 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1597, allocations: 384 / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1597, allocations: 11.84 kB / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1599, allocations: 53.67 kB / 444 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1599, allocations: 0 / 444 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1599, allocations: 0 / 444 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1599, allocations: 4 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.801e-05/0.16, allocations: 19.98 kB / 444.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.1604, allocations: 300.8 kB / 444.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.1606, allocations: 58.67 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.1607, allocations: 16.86 kB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1607, allocations: 7.938 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.161, allocations: 67.33 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.236e-06/0.161, allocations: 4 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005174/0.1615, allocations: 185 kB / 444.7 MB, free: 9.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1615, allocations: 51.41 kB / 444.7 MB, free: 9.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1618, allocations: 267.6 kB / 445 MB, free: 9.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1618, allocations: 29.7 kB / 445 MB, free: 9.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.1619, allocations: 120 kB / 445.2 MB, free: 9.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.1619, allocations: 23.73 kB / 445.2 MB, free: 9.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.1619, allocations: 17.72 kB / 445.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.162, allocations: 330.8 kB / 445.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.1621, allocations: 15.98 kB / 445.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/0.1622, allocations: 37.7 kB / 445.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1623, allocations: 61.7 kB / 445.6 MB, free: 8.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1623, allocations: 0 / 445.6 MB, free: 8.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00016/0.1625, allocations: 101.4 kB / 445.7 MB, free: 8.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1625, allocations: 4 kB / 445.7 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1625, allocations: 0 / 445.7 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1625, allocations: 4 kB / 445.7 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/0.1626, allocations: 24.3 kB / 445.8 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1626, allocations: 0 / 445.8 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.1627, allocations: 11.97 kB / 445.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1627, allocations: 4 kB / 445.8 MB, free: 8.691 MB / 382.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.0001033/0.1628, allocations: 133.8 kB / 445.9 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1628, allocations: 15.81 kB / 445.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.1629, allocations: 21.39 kB / 445.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1629, allocations: 0 / 445.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1629, allocations: 0 / 445.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1629, allocations: 3.938 kB / 445.9 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.1633, allocations: 411.2 kB / 446.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1633, allocations: 4 kB / 446.4 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.1634, allocations: 4 kB / 446.4 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1634, allocations: 7.938 kB / 446.4 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1634, allocations: 3.984 kB / 446.4 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1634, allocations: 0 / 446.4 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.1634, allocations: 4 kB / 446.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1636, allocations: 216.4 kB / 446.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.1637, allocations: 89.11 kB / 446.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1637, allocations: 7.922 kB / 446.7 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.1638, allocations: 11.94 kB / 446.7 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1639, allocations: 7.984 kB / 446.7 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1639, allocations: 0 / 446.7 MB, free: 7.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.1641, allocations: 203 kB / 446.9 MB, free: 7.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1641, allocations: 0 / 446.9 MB, free: 7.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1643, allocations: 31.98 kB / 446.9 MB, free: 7.43 MB / 382.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.001448/0.1658, allocations: 1.097 MB / 448 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.166, allocations: 67.91 kB / 448.1 MB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.166, allocations: 0 / 448.1 MB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.107e-05/0.1661, allocations: 27.92 kB / 448.1 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1664, allocations: 31.84 kB / 448.1 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.1682, allocations: 1.829 MB / 450 MB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.1685, allocations: 0.7196 MB / 450.7 MB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.893e-05/0.1685, allocations: 25.17 kB / 450.7 MB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.1686, allocations: 39.42 kB / 450.8 MB, free: 3.488 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1686, allocations: 0 / 450.8 MB, free: 3.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2154/0.3841, allocations: 3.516 MB / 454.3 MB, free: 49.1 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.3844, allocations: 237.3 kB / 454.5 MB, free: 48.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/2.191, allocations: 0 / 454.5 MB, free: 48.85 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches