Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008535/0.0008535, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009882/0.0009882, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9035/0.9035, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2547/0.2547, allocations: 34.26 MB / 294.9 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 442.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.926e-05, allocations: 2.281 kB / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.1632/0.1632, allocations: 1.704 MB / 444 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1649, allocations: 1.676 MB / 445.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.165, allocations: 2.625 kB / 445.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1653, allocations: 37.84 kB / 445.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.1656, allocations: 100.2 kB / 445.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.1657, allocations: 84.39 kB / 445.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1659, allocations: 108.3 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.166, allocations: 3.094 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.975e-05/0.1661, allocations: 67.28 kB / 446 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.246e-05/0.1662, allocations: 29.34 kB / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1662, allocations: 6.188 kB / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1663, allocations: 102.2 kB / 446.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.1664, allocations: 28.97 kB / 446.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.1664, allocations: 23.95 kB / 446.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1666, allocations: 175.1 kB / 446.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1666, allocations: 3.281 kB / 446.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1666, allocations: 0 / 446.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1666, allocations: 0 / 446.4 MB, free: 42.62 MB / 410.7 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.0004136/0.167, allocations: 360.4 kB / 446.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1671, allocations: 8.906 kB / 446.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.437e-05/0.1671, allocations: 39.62 kB / 446.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.1671, allocations: 11.56 kB / 446.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1673, allocations: 147.7 kB / 447 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1673, allocations: 3.25 kB / 447 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.1674, allocations: 7.031 kB / 447 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1675, allocations: 100.6 kB / 447.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1675, allocations: 3.812 kB / 447.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1675, allocations: 4 kB / 447.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1675, allocations: 0 / 447.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.909e-05/0.1676, allocations: 20.16 kB / 447.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.1678, allocations: 253.7 kB / 447.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.168, allocations: 60.31 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.168, allocations: 22.44 kB / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.168, allocations: 0 / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.1681, allocations: 73.03 kB / 447.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.1681, allocations: 0 / 447.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004007/0.1685, allocations: 179.2 kB / 447.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.1686, allocations: 79.11 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.1687, allocations: 169.8 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.1687, allocations: 32.52 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.1687, allocations: 94.83 kB / 448 MB, free: 41.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.1687, allocations: 24.42 kB / 448.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1687, allocations: 25.55 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.166e-05/0.1688, allocations: 328.6 kB / 448.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.1688, allocations: 23.7 kB / 448.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.141e-05/0.1689, allocations: 72.59 kB / 448.5 MB, free: 40.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.1689, allocations: 54.5 kB / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1689, allocations: 7.969 kB / 448.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001106/0.169, allocations: 111.9 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1691, allocations: 6.531 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1691, allocations: 0 / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1691, allocations: 0 / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.1691, allocations: 22.42 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1691, allocations: 2.156 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/0.1692, allocations: 10.05 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1692, allocations: 6.75 kB / 448.7 MB, free: 40.66 MB / 410.7 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 5.408e-05/0.1692, allocations: 127.1 kB / 448.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.1693, allocations: 6.766 kB / 448.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.1694, allocations: 119.3 kB / 449 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1694, allocations: 2.594 kB / 449 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1694, allocations: 0 / 449 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1694, allocations: 0 / 449 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1697, allocations: 380.4 kB / 449.3 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1697, allocations: 0 / 449.3 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.1697, allocations: 11.75 kB / 449.3 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1697, allocations: 4.031 kB / 449.3 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1697, allocations: 10.06 kB / 449.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1697, allocations: 0 / 449.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1697, allocations: 0 / 449.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.1698, allocations: 213.2 kB / 449.6 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.1698, allocations: 6.859 kB / 449.6 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1698, allocations: 10.75 kB / 449.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.251e-05/0.1699, allocations: 3.188 kB / 449.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.1699, allocations: 8.938 kB / 449.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1699, allocations: 6.844 kB / 449.6 MB, free: 39.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.216e-05/0.17, allocations: 136 kB / 449.7 MB, free: 39.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.17, allocations: 0 / 449.7 MB, free: 39.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.1702, allocations: 49.02 kB / 449.8 MB, free: 39.86 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.001058/0.1712, allocations: 1.245 MB / 451 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.1714, allocations: 60.06 kB / 451.1 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1714, allocations: 0 / 451.1 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.903e-05/0.1714, allocations: 30.27 kB / 451.1 MB, free: 39.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.1716, allocations: 32.38 kB / 451.1 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.1725, allocations: 1.616 MB / 452.8 MB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.584e-05/0.1726, allocations: 95.12 kB / 452.9 MB, free: 37.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.671e-05/0.1726, allocations: 15.56 kB / 452.9 MB, free: 37.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.693e-05/0.1727, allocations: 38.98 kB / 452.9 MB, free: 37.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1727, allocations: 0 / 452.9 MB, free: 37.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.1911, allocations: 4.897 MB / 457.8 MB, free: 36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/6.91, allocations: 6.609 kB / 457.8 MB, free: 36 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.882040727883577]