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.001833/0.001833, 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.002266/0.002266, allocations: 210.5 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.232/0.232, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.002183/0.002183, allocations: 75.89 kB / 0.4962 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3639, allocations: 66.03 MB / 0.5607 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003136/0.3671, allocations: 1.678 MB / 0.5623 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.3687, allocations: 0.9403 MB / 0.5632 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.3688, allocations: 4 kB / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.3691, allocations: 63.72 kB / 0.5633 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.3694, allocations: 95.61 kB / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.3696, allocations: 79.66 kB / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3697, allocations: 103.7 kB / 0.5635 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.3698, allocations: 8.203 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.3699, allocations: 43.8 kB / 0.5636 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.37, allocations: 47.77 kB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.37, allocations: 0 / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.134e-05/0.3701, allocations: 31.98 kB / 0.5637 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.3702, allocations: 19.92 kB / 0.5637 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.3702, allocations: 23.81 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.3704, allocations: 109.4 kB / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3704, allocations: 4 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3704, allocations: 0 / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3705, allocations: 0 / 0.5638 GB, free: 0.9531 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.0006501/0.3711, allocations: 341.6 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3711, allocations: 8.031 kB / 0.5641 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.518e-05/0.3712, allocations: 30.75 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.3712, allocations: 8.891 kB / 0.5642 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.3715, allocations: 150.4 kB / 0.5643 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3715, allocations: 384 / 0.5643 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.3715, allocations: 11.94 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.3717, allocations: 45.67 kB / 0.5644 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3717, allocations: 0 / 0.5644 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3717, allocations: 4 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3717, allocations: 3.938 kB / 0.5644 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.344e-05/0.3718, allocations: 19.92 kB / 0.5644 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.3721, allocations: 152.7 kB / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3722, allocations: 58.55 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.3723, allocations: 20.91 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.3723, allocations: 0 / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.3725, allocations: 63.33 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.3725, allocations: 3.938 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002965/0.3728, allocations: 97.56 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.3728, allocations: 55.41 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.373, allocations: 187.2 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.3731, allocations: 25.7 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.3731, allocations: 108.1 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.3732, allocations: 11.95 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.3732, allocations: 21.7 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3733, allocations: 318.8 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.3734, allocations: 15.98 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.3735, allocations: 29.7 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.3736, allocations: 49.64 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3736, allocations: 3.938 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001637/0.3737, allocations: 85.81 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3738, allocations: 12 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.3738, allocations: 64 / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3738, allocations: 4 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.662e-05/0.3739, allocations: 11.98 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3739, allocations: 4 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.137e-05/0.3739, allocations: 0 / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3739, allocations: 4 kB / 0.5657 GB, free: 14.82 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.0001261/0.374, allocations: 129.8 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.3741, allocations: 7.953 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.3743, allocations: 106.7 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3743, allocations: 3.984 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3743, allocations: 0 / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3743, allocations: 0 / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.3745, allocations: 160.6 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3745, allocations: 4 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.3745, allocations: 7.938 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3745, allocations: 0 / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3745, allocations: 0 / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.3745, allocations: 3.984 kB / 0.5661 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3745, allocations: 0 / 0.5661 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.3747, allocations: 125 kB / 0.5662 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.3747, allocations: 11.91 kB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3748, allocations: 4 kB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.3748, allocations: 0 / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.3748, allocations: 7.984 kB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.3748, allocations: 4 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.375, allocations: 141.8 kB / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.375, allocations: 0 / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002065/0.3752, allocations: 19.94 kB / 0.5664 GB, free: 14.01 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 (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.002088/0.3773, allocations: 0.986 MB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.3774, allocations: 43.91 kB / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3774, allocations: 0 / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.535e-05/0.3775, allocations: 16 kB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.3778, allocations: 46.22 kB / 0.5675 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.3795, allocations: 1.493 MB / 0.5689 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.474e-05/0.3796, allocations: 89.38 kB / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.992e-05/0.3796, allocations: 12.48 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.3797, allocations: 31.42 kB / 0.5691 GB, free: 11.35 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3797, allocations: 0 / 0.5691 GB, free: 11.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.4084, allocations: 3.78 MB / 0.5727 GB, free: 7.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.6, allocations: 10.34 kB / 0.5728 GB, free: 7.621 MB / 414.1 MB " [Timeout remaining time 648] (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.754990267101675]