Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001716/0.001716, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002028/0.002028, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.2278/0.2278, allocations: 46.94 MB / 360.9 MB, free: 4.266 MB / 286.1 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.Test85,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 75.89 kB / 0.4962 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3479, allocations: 66.03 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003478/0.3514, allocations: 1.701 MB / 0.5624 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3533, allocations: 1.026 MB / 0.5634 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.3533, allocations: 0 / 0.5634 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.3536, allocations: 55.75 kB / 0.5634 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.3539, allocations: 103.6 kB / 0.5635 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.3541, allocations: 75.67 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.3543, allocations: 99.69 kB / 0.5637 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.3543, allocations: 4.234 kB / 0.5637 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.3545, allocations: 59.7 kB / 0.5638 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3546, allocations: 43.77 kB / 0.5638 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.3546, allocations: 8 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.3546, allocations: 27.98 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.3547, allocations: 19.92 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.3547, allocations: 27.81 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.3549, allocations: 105.4 kB / 0.564 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3549, allocations: 3.984 kB / 0.564 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3549, allocations: 3.938 kB / 0.564 GB, free: 1.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3549, allocations: 0 / 0.564 GB, free: 1.086 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.0005366/0.3555, allocations: 333.6 kB / 0.5643 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3555, allocations: 15.97 kB / 0.5643 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.3556, allocations: 34.75 kB / 0.5643 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.3556, allocations: 8.891 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.3559, allocations: 158.2 kB / 0.5645 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3559, allocations: 4.375 kB / 0.5645 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.356, allocations: 3.938 kB / 0.5645 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3561, allocations: 49.67 kB / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3561, allocations: 3.938 kB / 0.5646 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.3561, allocations: 0 / 0.5646 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3561, allocations: 4 kB / 0.5646 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.717e-05/0.3562, allocations: 12 kB / 0.5646 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.3564, allocations: 148.8 kB / 0.5647 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.3566, allocations: 54.55 kB / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.3566, allocations: 20.84 kB / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.3566, allocations: 0 / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.3568, allocations: 71.33 kB / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.103e-06/0.3568, allocations: 0 / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003093/0.3571, allocations: 93.62 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.3572, allocations: 51.41 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.3574, allocations: 187.2 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3574, allocations: 29.64 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.3575, allocations: 100.1 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.3575, allocations: 11.94 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.3575, allocations: 17.72 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3577, allocations: 326.8 kB / 0.5656 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.3577, allocations: 11.94 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/0.3578, allocations: 33.69 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3579, allocations: 49.95 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3579, allocations: 3.938 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001669/0.3581, allocations: 85.53 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3581, allocations: 4 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3581, allocations: 0 / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3581, allocations: 4 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.53e-05/0.3582, allocations: 11.98 kB / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3582, allocations: 3.938 kB / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.3582, allocations: 4 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3582, allocations: 8.031 kB / 0.5659 GB, free: 14.96 MB / 414.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.000112/0.3583, allocations: 129.7 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.3584, allocations: 11.94 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.3586, allocations: 90.72 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3586, allocations: 0 / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3586, allocations: 4 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3586, allocations: 0 / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.3588, allocations: 164.6 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3588, allocations: 0 / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.3588, allocations: 8 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3588, allocations: 0 / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.3588, allocations: 4 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3588, allocations: 0 / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3588, allocations: 0 / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.359, allocations: 117.1 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.359, allocations: 7.953 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3591, allocations: 0 / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.518e-05/0.3591, allocations: 11.98 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.3591, allocations: 0 / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3591, allocations: 4 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.3593, allocations: 141.8 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3593, allocations: 0 / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.3595, allocations: 16 kB / 0.5665 GB, free: 14.18 MB / 414.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 (5): * Single equations (assignments): 3 * 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.001932/0.3614, allocations: 0.9654 MB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.3616, allocations: 35.98 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3616, allocations: 0 / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.955e-05/0.3616, allocations: 23.92 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.3619, allocations: 22.17 kB / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.3639, allocations: 1.492 MB / 0.569 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3642, allocations: 0.6963 MB / 0.5697 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.3643, allocations: 16.42 kB / 0.5697 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.3643, allocations: 31.42 kB / 0.5697 GB, free: 10.92 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3643, allocations: 0 / 0.5697 GB, free: 10.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.3946, allocations: 3.248 MB / 0.5729 GB, free: 7.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.31, allocations: 13.64 kB / 0.5729 GB, free: 7.727 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.38239835499553]