Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.0008696/0.0008696, 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.0009381/0.0009381, allocations: 174 kB / 23.95 MB, free: 0.6094 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.8963/0.8963, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2288/0.2288, allocations: 34.25 MB / 294.9 MB, free: 0.7031 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.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.492e-05, allocations: 2.281 kB / 442.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.1545/0.1545, allocations: 1.782 MB / 444 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1562, allocations: 1.744 MB / 445.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.1563, allocations: 3 kB / 445.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.1565, allocations: 53.34 kB / 445.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.1569, allocations: 147.7 kB / 446 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1571, allocations: 103.9 kB / 446.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1573, allocations: 218.6 kB / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.1573, allocations: 4.75 kB / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1574, allocations: 110.5 kB / 446.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1576, allocations: 68.33 kB / 446.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.1576, allocations: 9.25 kB / 446.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1577, allocations: 106.2 kB / 446.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.1578, allocations: 35.06 kB / 446.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.1578, allocations: 45.31 kB / 446.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.1581, allocations: 233.9 kB / 446.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1581, allocations: 0.7188 kB / 446.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1581, allocations: 0 / 446.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1581, allocations: 3.469 kB / 446.9 MB, free: 42.37 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005035/0.1587, allocations: 426.8 kB / 447.3 MB, free: 42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1587, allocations: 8.625 kB / 447.3 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.1587, allocations: 37.08 kB / 447.4 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.1588, allocations: 18.42 kB / 447.4 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.159, allocations: 193.4 kB / 447.6 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1591, allocations: 3.125 kB / 447.6 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.1591, allocations: 3.344 kB / 447.6 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1592, allocations: 164.8 kB / 447.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1593, allocations: 0 / 447.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1593, allocations: 0 / 447.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1593, allocations: 2.656 kB / 447.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.999e-05/0.1593, allocations: 37.22 kB / 447.8 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.1595, allocations: 177.4 kB / 447.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1597, allocations: 114.7 kB / 448.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.105e-05/0.1597, allocations: 40.08 kB / 448.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.1597, allocations: 0 / 448.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.1599, allocations: 118 kB / 448.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 9.41e-07/0.1599, allocations: 6.688 kB / 448.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002846/0.1602, allocations: 171.4 kB / 448.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.1602, allocations: 143.1 kB / 448.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1604, allocations: 243.8 kB / 448.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.1604, allocations: 33.03 kB / 448.8 MB, free: 40.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.1604, allocations: 118.6 kB / 448.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.1605, allocations: 29.38 kB / 448.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.1605, allocations: 26.41 kB / 449 MB, free: 40.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.367e-05/0.1605, allocations: 335.8 kB / 449.3 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.916e-05/0.1606, allocations: 32.77 kB / 449.3 MB, free: 40.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.1606, allocations: 123 kB / 449.4 MB, free: 40.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.696e-05/0.1607, allocations: 94.45 kB / 449.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.1607, allocations: 0 / 449.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001525/0.1609, allocations: 147 kB / 449.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1609, allocations: 9.312 kB / 449.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1609, allocations: 4 kB / 449.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1609, allocations: 3.094 kB / 449.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.161, allocations: 28.17 kB / 449.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.161, allocations: 0 / 449.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.1611, allocations: 17.58 kB / 449.7 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1611, allocations: 2.812 kB / 449.7 MB, free: 40.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 6.943e-05/0.1611, allocations: 133.1 kB / 449.9 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.1612, allocations: 20.16 kB / 449.9 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.1614, allocations: 164.9 kB / 450.1 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1614, allocations: 2.938 kB / 450.1 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1614, allocations: 0 / 450.1 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.1614, allocations: 6.031 kB / 450.1 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.1615, allocations: 185.1 kB / 450.2 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1615, allocations: 0 / 450.2 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.1615, allocations: 12.38 kB / 450.3 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1615, allocations: 7.844 kB / 450.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1615, allocations: 2.844 kB / 450.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1615, allocations: 3.469 kB / 450.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1615, allocations: 0 / 450.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.1617, allocations: 188.2 kB / 450.5 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.1617, allocations: 20.05 kB / 450.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1617, allocations: 6.594 kB / 450.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.1618, allocations: 7.797 kB / 450.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.1618, allocations: 12.69 kB / 450.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.1618, allocations: 13.5 kB / 450.5 MB, free: 39.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.1619, allocations: 181.5 kB / 450.7 MB, free: 39.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1619, allocations: 2.062 kB / 450.7 MB, free: 39.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.1622, allocations: 59.48 kB / 450.7 MB, free: 39.42 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001176/0.1633, allocations: 1.164 MB / 451.9 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1635, allocations: 95.44 kB / 452 MB, free: 38.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1635, allocations: 0 / 452 MB, free: 38.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.566e-05/0.1636, allocations: 39.64 kB / 452 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.1638, allocations: 59.97 kB / 452.1 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1651, allocations: 1.914 MB / 454 MB, free: 37.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.096e-05/0.1652, allocations: 107.7 kB / 454.1 MB, free: 37.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.244e-05/0.1652, allocations: 43.08 kB / 454.2 MB, free: 37.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.1653, allocations: 59.22 kB / 454.2 MB, free: 37.05 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1653, allocations: 0 / 454.2 MB, free: 37.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.1826, allocations: 6.367 MB / 460.6 MB, free: 35.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.896/7.079, allocations: 0 / 460.6 MB, free: 35.35 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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: 9.000372362323105]