Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001929/0.001929, allocations: 212.6 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 230.5 MB / 257.4 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.93 MB / 360.8 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 79.86 kB / 0.4963 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3517, allocations: 66.09 MB / 0.5608 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003375/0.3551, allocations: 1.733 MB / 0.5625 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.357, allocations: 1.053 MB / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.003e-05/0.3571, allocations: 0 / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.3574, allocations: 47.75 kB / 0.5636 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.3577, allocations: 107.5 kB / 0.5637 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.3579, allocations: 79.72 kB / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.3581, allocations: 99.7 kB / 0.5638 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.683e-05/0.3582, allocations: 13.75 kB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.3583, allocations: 47.8 kB / 0.5639 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.559e-05/0.3584, allocations: 31.83 kB / 0.5639 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3584, allocations: 4 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-05/0.3585, allocations: 43.92 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.3586, allocations: 23.91 kB / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.3587, allocations: 43.69 kB / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.3589, allocations: 135.4 kB / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3589, allocations: 0 / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3589, allocations: 0 / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3589, allocations: 0 / 0.5642 GB, free: 0.793 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005683/0.3595, allocations: 361.4 kB / 0.5645 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3595, allocations: 8.031 kB / 0.5645 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.3596, allocations: 38.69 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.3596, allocations: 8.891 kB / 0.5646 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.3599, allocations: 159.1 kB / 0.5647 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3599, allocations: 20.28 kB / 0.5647 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.3599, allocations: 384 / 0.5647 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3601, allocations: 57.8 kB / 0.5648 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3601, allocations: 4 kB / 0.5648 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3601, allocations: 0 / 0.5648 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3601, allocations: 0 / 0.5648 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.07e-05/0.3602, allocations: 19.92 kB / 0.5648 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.3606, allocations: 267.9 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.3608, allocations: 58.67 kB / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/0.3609, allocations: 20.8 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3609, allocations: 0 / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.361, allocations: 71.31 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.361, allocations: 4 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006416/0.3617, allocations: 181.3 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.3618, allocations: 55.41 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.3621, allocations: 239 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3621, allocations: 25.7 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.3622, allocations: 116.1 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.3623, allocations: 23.78 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.3623, allocations: 21.72 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3625, allocations: 338.8 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.3625, allocations: 16 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.3626, allocations: 37.7 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.3628, allocations: 65.7 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3628, allocations: 0 / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002527/0.363, allocations: 101.6 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.3631, allocations: 7.984 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3631, allocations: 384 / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3631, allocations: 4 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.3632, allocations: 15.94 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3632, allocations: 4 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.368e-05/0.3633, allocations: 8 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3633, allocations: 3.984 kB / 0.5664 GB, free: 14.27 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 (10): * Single equations (assignments): 10 * 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.0001592/0.3635, allocations: 131.1 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.3635, allocations: 19.91 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/0.3638, allocations: 119 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3638, allocations: 3.938 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3638, allocations: 3.984 kB / 0.5667 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3638, allocations: 0 / 0.5667 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.3643, allocations: 374.3 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3643, allocations: 0 / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.3644, allocations: 11.98 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3644, allocations: 4.031 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3644, allocations: 4 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3644, allocations: 3.938 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3644, allocations: 192 / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.3646, allocations: 204.2 kB / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.3647, allocations: 15.84 kB / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.3647, allocations: 4 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.3647, allocations: 11.92 kB / 0.5673 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.3648, allocations: 8 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3648, allocations: 7.984 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.365, allocations: 167.2 kB / 0.5675 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.365, allocations: 0 / 0.5675 GB, free: 13.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3652, allocations: 31.92 kB / 0.5675 GB, free: 13.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002212/0.3674, allocations: 1.091 MB / 0.5686 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.3677, allocations: 63.89 kB / 0.5686 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3677, allocations: 0 / 0.5686 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.3678, allocations: 23.94 kB / 0.5687 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.3682, allocations: 38.81 kB / 0.5687 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.3705, allocations: 1.748 MB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.3709, allocations: 0.7119 MB / 0.5711 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.875e-05/0.3709, allocations: 21.27 kB / 0.5711 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.371, allocations: 39.42 kB / 0.5712 GB, free: 9.359 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.371, allocations: 0 / 0.5712 GB, free: 9.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.4008, allocations: 3.784 MB / 0.5748 GB, free: 5.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.51, allocations: 9.109 kB / 0.5749 GB, free: 5.609 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.73084950500197]