Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001158/0.001158, allocations: 79.69 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.00129/0.00129, 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.9304/0.9304, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2491/0.2491, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.133e-05, allocations: 6.281 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002137/0.002158, allocations: 1.664 MB / 441.3 MB, free: 2.477 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.003165, allocations: 0.9586 MB / 442.3 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.003234, allocations: 0 / 442.3 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.00352, allocations: 67.66 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.00379, allocations: 103.5 kB / 442.5 MB, free: 1.344 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.00393, allocations: 87.59 kB / 442.5 MB, free: 1.258 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.00407, allocations: 103.7 kB / 442.6 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.004107, allocations: 4.172 kB / 442.7 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.004189, allocations: 67.75 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.558e-05/0.004265, allocations: 35.89 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.00428, allocations: 4 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.039e-05/0.004341, allocations: 35.98 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.004389, allocations: 19.86 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.00442, allocations: 19.92 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.00456, allocations: 99.64 kB / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004563, allocations: 7.984 kB / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004564, allocations: 0 / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.004568, allocations: 4 kB / 442.9 MB, free: 0.8633 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003702/0.004938, allocations: 329.7 kB / 443.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.00497, allocations: 8.031 kB / 443.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.543e-05/0.004996, allocations: 30.75 kB / 443.3 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.005024, allocations: 16.83 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.005198, allocations: 154.2 kB / 443.5 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.005209, allocations: 4.359 kB / 443.5 MB, free: 276 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.005219, allocations: 4.375 kB / 443.5 MB, free: 272 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.546e-05/0.005314, allocations: 53.98 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.005322, allocations: 7.938 kB / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.00533, allocations: 0 / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.005335, allocations: 0 / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.764e-05/0.005383, allocations: 15.98 kB / 443.6 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1625/0.1679, allocations: 160.6 kB / 443.7 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1681, allocations: 52.72 kB / 443.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.1681, allocations: 17.42 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1681, allocations: 7.406 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.1683, allocations: 68.59 kB / 443.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.1683, allocations: 0 / 443.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002248/0.1685, allocations: 95.66 kB / 443.9 MB, free: 46.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.1685, allocations: 55.36 kB / 444 MB, free: 46.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.1686, allocations: 199.7 kB / 444.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.1686, allocations: 27.92 kB / 444.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.1687, allocations: 100.5 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1687, allocations: 17.92 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.1687, allocations: 19.41 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.1688, allocations: 325.9 kB / 444.7 MB, free: 45.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.1688, allocations: 16.69 kB / 444.7 MB, free: 45.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.1688, allocations: 34.34 kB / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.505e-05/0.1689, allocations: 44.45 kB / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1689, allocations: 2.719 kB / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.208e-05/0.169, allocations: 84.64 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.169, allocations: 8.281 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.169, allocations: 0 / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.169, allocations: 0 / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.1691, allocations: 15.8 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1691, allocations: 2.938 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.1691, allocations: 6 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1691, allocations: 3.062 kB / 444.9 MB, free: 45.82 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 (7): * Single equations (assignments): 7 * 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.22e-05/0.1692, allocations: 130 kB / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.1692, allocations: 10.42 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.1693, allocations: 96.33 kB / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1693, allocations: 2.781 kB / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1693, allocations: 0 / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1693, allocations: 3.281 kB / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.392e-05/0.1694, allocations: 158.5 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1694, allocations: 6.188 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.1694, allocations: 4.25 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1694, allocations: 2.281 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1694, allocations: 9.172 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.1694, allocations: 0 / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1694, allocations: 1.5 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.604e-05/0.1695, allocations: 114.7 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.1695, allocations: 20.47 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.1695, allocations: 6.438 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.1695, allocations: 2.781 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.1696, allocations: 3.234 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1696, allocations: 2.875 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.066e-05/0.1697, allocations: 162.3 kB / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1697, allocations: 0 / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001601/0.1698, allocations: 17 kB / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008304/0.1706, allocations: 0.9826 MB / 446.6 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.1708, allocations: 51.05 kB / 446.7 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1708, allocations: 0 / 446.7 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.1708, allocations: 18.75 kB / 446.7 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.171, allocations: 26 kB / 446.7 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009385/0.1719, allocations: 1.527 MB / 448.2 MB, free: 43.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.172, allocations: 92.66 kB / 448.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.691e-05/0.172, allocations: 16.19 kB / 448.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.1721, allocations: 33.41 kB / 448.4 MB, free: 43.39 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1721, allocations: 0 / 448.4 MB, free: 43.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.1867, allocations: 3.982 MB / 452.3 MB, free: 42.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/7.067, allocations: 10.5 kB / 452.4 MB, free: 42.03 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599281 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.18591264821589]