Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007872/0.0007872, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008/0.0008, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8836/0.8836, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2559/0.2559, allocations: 34.23 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 442.2 MB, free: 1.484 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.77e-05, allocations: 9.031 kB / 442.3 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.1613/0.1613, allocations: 1.71 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1624, allocations: 0.9743 MB / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.1625, allocations: 0 / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.1627, allocations: 39.09 kB / 445 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.163, allocations: 99.08 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.1631, allocations: 83.05 kB / 445.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1633, allocations: 99.95 kB / 445.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1634, allocations: 16.12 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.083e-05/0.1635, allocations: 62.52 kB / 445.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.329e-05/0.1635, allocations: 22.83 kB / 445.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1635, allocations: 2.812 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.1636, allocations: 52.41 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.1637, allocations: 20.81 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.1637, allocations: 16.56 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1639, allocations: 118.2 kB / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1639, allocations: 4.812 kB / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1639, allocations: 0 / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1639, allocations: 0 / 445.6 MB, free: 42.86 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.0005104/0.1644, allocations: 343.2 kB / 445.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.1645, allocations: 11.75 kB / 445.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.1645, allocations: 30.75 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.1646, allocations: 22.66 kB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1648, allocations: 150.1 kB / 446.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1648, allocations: 384 / 446.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.1648, allocations: 3.5 kB / 446.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.1649, allocations: 58.25 kB / 446.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1649, allocations: 192 / 446.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.165, allocations: 7.266 kB / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.165, allocations: 2.969 kB / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.852e-05/0.165, allocations: 15.47 kB / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.1653, allocations: 260.5 kB / 446.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.1654, allocations: 56.73 kB / 446.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.1654, allocations: 26.62 kB / 446.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.1654, allocations: 0 / 446.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.1655, allocations: 77.73 kB / 446.6 MB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1655, allocations: 0 / 446.6 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004074/0.1659, allocations: 181.6 kB / 446.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.166, allocations: 54.09 kB / 446.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1661, allocations: 203.9 kB / 447 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.1661, allocations: 28.33 kB / 447.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.1661, allocations: 104.9 kB / 447.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.1661, allocations: 25.75 kB / 447.2 MB, free: 41.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.1662, allocations: 25.95 kB / 447.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.245e-05/0.1662, allocations: 327.8 kB / 447.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.1662, allocations: 20.77 kB / 447.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.04e-05/0.1663, allocations: 36.91 kB / 447.6 MB, free: 41.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.897e-05/0.1663, allocations: 62.89 kB / 447.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1663, allocations: 0 / 447.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001103/0.1665, allocations: 110.2 kB / 447.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1665, allocations: 6.031 kB / 447.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1665, allocations: 4.031 kB / 447.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1665, allocations: 0 / 447.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.222e-05/0.1666, allocations: 24.84 kB / 447.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1666, allocations: 0 / 447.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.1666, allocations: 6.469 kB / 447.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1666, allocations: 2.812 kB / 447.8 MB, free: 41.23 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 6e-05/0.1667, allocations: 131.4 kB / 447.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.1667, allocations: 15.98 kB / 447.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.1668, allocations: 120.8 kB / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1668, allocations: 6.688 kB / 448.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1668, allocations: 3.797 kB / 448.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1669, allocations: 0 / 448.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.1671, allocations: 378.2 kB / 448.4 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1671, allocations: 0 / 448.4 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.1671, allocations: 11.12 kB / 448.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1671, allocations: 0 / 448.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1671, allocations: 6.266 kB / 448.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1671, allocations: 0 / 448.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1671, allocations: 0 / 448.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.1672, allocations: 219.5 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.1673, allocations: 10.94 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1673, allocations: 6.781 kB / 448.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.1673, allocations: 0 / 448.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.1673, allocations: 11.33 kB / 448.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1674, allocations: 9.188 kB / 448.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.91e-05/0.1674, allocations: 156.9 kB / 448.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1674, allocations: 0 / 448.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.1676, allocations: 28.33 kB / 448.9 MB, free: 40.44 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.0009153/0.1685, allocations: 1.124 MB / 450 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.1686, allocations: 62.86 kB / 450.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1686, allocations: 0 / 450.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.1687, allocations: 31.3 kB / 450.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.1689, allocations: 33.36 kB / 450.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009844/0.1699, allocations: 1.684 MB / 451.8 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.321e-05/0.17, allocations: 91.84 kB / 451.9 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.89e-05/0.17, allocations: 21.19 kB / 451.9 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.17, allocations: 36.34 kB / 452 MB, free: 38.14 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.17, allocations: 0 / 452 MB, free: 38.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.1873, allocations: 4.274 MB / 456.2 MB, free: 36.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/7.005, allocations: 10.72 kB / 456.3 MB, free: 36.73 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.957286471500993]