Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.001246/0.001246, allocations: 108.3 kB / 20.48 MB, free: 0.9805 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.001427/0.001427, allocations: 218.5 kB / 23.78 MB, free: 4.215 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.434/1.434, allocations: 230.5 MB / 257.5 MB, free: 7.734 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.2366/0.2366, allocations: 46.95 MB / 360.9 MB, free: 3.895 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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003809/0.003809, allocations: 83.84 kB / 0.4963 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3555, allocations: 66.09 MB / 0.5609 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003564/0.359, allocations: 1.702 MB / 0.5625 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3609, allocations: 0.971 MB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.361, allocations: 3.938 kB / 0.5635 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.3613, allocations: 35.83 kB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.3616, allocations: 99.53 kB / 0.5636 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.3618, allocations: 79.67 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.362, allocations: 107.7 kB / 0.5638 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.3621, allocations: 9.812 kB / 0.5638 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.692e-05/0.3622, allocations: 39.8 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.616e-05/0.3623, allocations: 43.7 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.3623, allocations: 8 kB / 0.5639 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.696e-05/0.3624, allocations: 39.98 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.3625, allocations: 23.92 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.3625, allocations: 31.8 kB / 0.564 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.3627, allocations: 115.5 kB / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3627, allocations: 0 / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3627, allocations: 0 / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3628, allocations: 0 / 0.5641 GB, free: 0.6641 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.0006043/0.3634, allocations: 353.5 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3634, allocations: 8.031 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.3634, allocations: 34.75 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.3635, allocations: 20.88 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.3638, allocations: 147 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3638, allocations: 4.375 kB / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3638, allocations: 384 / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.364, allocations: 61.8 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.364, allocations: 0 / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.364, allocations: 8 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.364, allocations: 0 / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.921e-05/0.3641, allocations: 31.84 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.3645, allocations: 255.9 kB / 0.565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3647, allocations: 62.67 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.3648, allocations: 20.84 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.3648, allocations: 0 / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.3649, allocations: 71.33 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3649, allocations: 0 / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005994/0.3655, allocations: 177.3 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.3656, allocations: 51.41 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.3658, allocations: 210.3 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3658, allocations: 33.7 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.3659, allocations: 100.1 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.366, allocations: 27.78 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.366, allocations: 25.72 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3662, allocations: 326.8 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.3662, allocations: 23.98 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.3663, allocations: 33.7 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.3664, allocations: 65.62 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3664, allocations: 0 / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002119/0.3667, allocations: 113.5 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3667, allocations: 4 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3667, allocations: 7.938 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3667, allocations: 0 / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.3668, allocations: 12 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3668, allocations: 3.984 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.3668, allocations: 8 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.3669, allocations: 4 kB / 0.5663 GB, free: 14.2 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.0001182/0.367, allocations: 123.2 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.367, allocations: 19.92 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.3673, allocations: 131.2 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3673, allocations: 288 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3673, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.3673, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.3678, allocations: 374.7 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3678, allocations: 0 / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.3679, allocations: 15.94 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3679, allocations: 4 kB / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3679, allocations: 8.016 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3679, allocations: 3.938 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3679, allocations: 4 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.3682, allocations: 212.2 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.3682, allocations: 7.953 kB / 0.5671 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.3682, allocations: 4 kB / 0.5671 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.3683, allocations: 11.92 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.3683, allocations: 4 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.3683, allocations: 7.984 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.3685, allocations: 152.2 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3685, allocations: 4 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.3688, allocations: 23.94 kB / 0.5673 GB, free: 13.02 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 (9): * Single equations (assignments): 7 * 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.002304/0.3711, allocations: 1.121 MB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.3713, allocations: 67.86 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3713, allocations: 0 / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.75e-05/0.3713, allocations: 27.92 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3717, allocations: 30.78 kB / 0.5686 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.3737, allocations: 1.674 MB / 0.5702 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.82e-05/0.3738, allocations: 100.4 kB / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.153e-05/0.3738, allocations: 16.95 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.3739, allocations: 40.47 kB / 0.5703 GB, free: 9.984 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3739, allocations: 0 / 0.5703 GB, free: 9.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.403, allocations: 4.218 MB / 0.5745 GB, free: 5.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.52, allocations: 13.03 kB / 0.5745 GB, free: 5.785 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.647171157994308]