Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001404/0.001404, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002691/0.002691, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.659/1.659, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.218/0.218, allocations: 44.93 MB / 358.8 MB, free: 6.125 MB / 286.1 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.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.89 kB / 0.4931 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.343, allocations: 65.47 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003146/0.3461, allocations: 1.66 MB / 0.5587 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3479, allocations: 0.9637 MB / 0.5596 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.3479, allocations: 4 kB / 0.5596 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.3482, allocations: 47.7 kB / 0.5596 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.3485, allocations: 107.5 kB / 0.5597 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.3487, allocations: 75.73 kB / 0.5598 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.3489, allocations: 99.69 kB / 0.5599 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.3489, allocations: 4.234 kB / 0.5599 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.349, allocations: 39.8 kB / 0.56 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.3491, allocations: 35.78 kB / 0.56 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3491, allocations: 4 kB / 0.56 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.783e-05/0.3492, allocations: 27.98 kB / 0.56 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.3492, allocations: 31.92 kB / 0.56 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.3493, allocations: 35.72 kB / 0.5601 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.3495, allocations: 129.2 kB / 0.5602 GB, free: 4.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3495, allocations: 0 / 0.5602 GB, free: 4.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3495, allocations: 0 / 0.5602 GB, free: 4.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3495, allocations: 0 / 0.5602 GB, free: 4.219 MB / 398.1 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.0005527/0.3501, allocations: 365.4 kB / 0.5606 GB, free: 3.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3501, allocations: 8.031 kB / 0.5606 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.3501, allocations: 38.73 kB / 0.5606 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.3502, allocations: 8.891 kB / 0.5606 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.3505, allocations: 167.2 kB / 0.5608 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3505, allocations: 384 / 0.5608 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.3505, allocations: 3.938 kB / 0.5608 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.3506, allocations: 57.55 kB / 0.5608 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3506, allocations: 0 / 0.5608 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3507, allocations: 4 kB / 0.5608 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.3507, allocations: 0 / 0.5608 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.295e-05/0.3507, allocations: 23.97 kB / 0.5609 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.3509, allocations: 156.8 kB / 0.561 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.3511, allocations: 62.48 kB / 0.5611 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.848e-05/0.3512, allocations: 16.86 kB / 0.5611 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.3512, allocations: 4 kB / 0.5611 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.3513, allocations: 63.33 kB / 0.5611 GB, free: 3.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3513, allocations: 0 / 0.5611 GB, free: 3.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003626/0.3517, allocations: 109.6 kB / 0.5612 GB, free: 3.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.3517, allocations: 51.41 kB / 0.5613 GB, free: 2.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.352, allocations: 275.8 kB / 0.5616 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3521, allocations: 25.7 kB / 0.5616 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.3521, allocations: 116.1 kB / 0.5617 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.3522, allocations: 23.83 kB / 0.5617 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.3522, allocations: 21.66 kB / 0.5617 GB, free: 2.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3523, allocations: 326.8 kB / 0.562 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.3524, allocations: 15.98 kB / 0.5621 GB, free: 2.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.3525, allocations: 29.7 kB / 0.5621 GB, free: 2.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.3526, allocations: 49.7 kB / 0.5621 GB, free: 2.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3526, allocations: 3.938 kB / 0.5621 GB, free: 2.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001616/0.3527, allocations: 85.84 kB / 0.5622 GB, free: 1.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3527, allocations: 11 kB / 0.5622 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3527, allocations: 4 kB / 0.5622 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3528, allocations: 0 / 0.5622 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.3528, allocations: 15.98 kB / 0.5623 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3528, allocations: 160 / 0.5623 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.3529, allocations: 7.953 kB / 0.5623 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3529, allocations: 3.984 kB / 0.5623 GB, free: 1.898 MB / 398.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 (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 0.0001218/0.353, allocations: 144.7 kB / 0.5624 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.353, allocations: 15.91 kB / 0.5624 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.3533, allocations: 102.8 kB / 0.5625 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3533, allocations: 4 kB / 0.5625 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3533, allocations: 0 / 0.5625 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3533, allocations: 3.938 kB / 0.5625 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.3534, allocations: 168.6 kB / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3534, allocations: 0 / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.3535, allocations: 11.98 kB / 0.5627 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3535, allocations: 0 / 0.5627 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3535, allocations: 0 / 0.5627 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3535, allocations: 4 kB / 0.5627 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3535, allocations: 0 / 0.5627 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.3537, allocations: 128.9 kB / 0.5628 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.3537, allocations: 11.91 kB / 0.5628 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3537, allocations: 0 / 0.5628 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.3538, allocations: 3.984 kB / 0.5628 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.3538, allocations: 11.94 kB / 0.5628 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.3538, allocations: 4 kB / 0.5629 GB, free: 1.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001979/0.354, allocations: 204.6 kB / 0.563 GB, free: 1.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.354, allocations: 0 / 0.563 GB, free: 1.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000218/0.3542, allocations: 19.94 kB / 0.5631 GB, free: 0.9961 MB / 398.1 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.002037/0.3563, allocations: 0.9928 MB / 0.564 GB, free: 160 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.3564, allocations: 43.91 kB / 0.5641 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3564, allocations: 0 / 0.5641 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.776e-05/0.3565, allocations: 27.86 kB / 0.5641 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.3568, allocations: 29.86 kB / 0.5641 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.3587, allocations: 1.694 MB / 0.5658 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.3589, allocations: 105.8 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.059e-05/0.3589, allocations: 12.48 kB / 0.5659 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.177e-05/0.359, allocations: 43.42 kB / 0.5659 GB, free: 14.11 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.359, allocations: 0 / 0.5659 GB, free: 14.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.3883, allocations: 4.163 MB / 0.57 GB, free: 9.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.76, allocations: 0 / 0.57 GB, free: 9.992 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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: 14.980822671670467]