Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.001923/0.001923, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.003097/0.003097, allocations: 213.8 kB / 24.54 MB, free: 4.016 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.487/1.487, allocations: 230.3 MB / 258 MB, free: 8.262 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.249/0.249, allocations: 46.89 MB / 361.3 MB, free: 4.457 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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 83.86 kB / 0.4966 GB, free: 8.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3553, allocations: 66.02 MB / 0.5611 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003535/0.3589, allocations: 1.741 MB / 0.5628 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.3609, allocations: 1.049 MB / 0.5638 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.3609, allocations: 4 kB / 0.5638 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.3612, allocations: 47.75 kB / 0.5639 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.3616, allocations: 87.61 kB / 0.564 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.3618, allocations: 83.61 kB / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.3619, allocations: 107.7 kB / 0.5642 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.362, allocations: 9.953 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3622, allocations: 47.78 kB / 0.5642 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.3622, allocations: 31.8 kB / 0.5642 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.3623, allocations: 8 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.3624, allocations: 43.97 kB / 0.5643 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.3624, allocations: 23.86 kB / 0.5643 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.3625, allocations: 39.73 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.3628, allocations: 115.5 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3628, allocations: 0 / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3628, allocations: 0 / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.3628, allocations: 0 / 0.5645 GB, free: 1.227 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.0007087/0.3635, allocations: 426.6 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3635, allocations: 12.03 kB / 0.5649 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.3636, allocations: 38.69 kB / 0.5649 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.3636, allocations: 12.89 kB / 0.5649 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.364, allocations: 220.8 kB / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.364, allocations: 384 / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.364, allocations: 4.375 kB / 0.5651 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3642, allocations: 57.8 kB / 0.5652 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3642, allocations: 0 / 0.5652 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3642, allocations: 0 / 0.5652 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3642, allocations: 0 / 0.5652 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.568e-05/0.3643, allocations: 27.98 kB / 0.5652 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.3647, allocations: 296.8 kB / 0.5655 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.3649, allocations: 46.77 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.365, allocations: 20.84 kB / 0.5656 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.365, allocations: 4 kB / 0.5656 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.3652, allocations: 71.39 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3652, allocations: 0 / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005617/0.3657, allocations: 181.2 kB / 0.5658 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.3658, allocations: 51.41 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.366, allocations: 194.3 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.366, allocations: 37.58 kB / 0.5661 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.3661, allocations: 104.1 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3661, allocations: 23.8 kB / 0.5662 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.3662, allocations: 25.7 kB / 0.5662 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3663, allocations: 330.8 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.922e-05/0.3664, allocations: 16 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.3665, allocations: 33.7 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.3666, allocations: 65.7 kB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3666, allocations: 0 / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.3668, allocations: 109.5 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3668, allocations: 4 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3668, allocations: 4 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3668, allocations: 0 / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.3669, allocations: 15.94 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.3669, allocations: 0 / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.367, allocations: 16.02 kB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.367, allocations: 4 kB / 0.5668 GB, free: 14.58 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.0001206/0.3671, allocations: 125.4 kB / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.3671, allocations: 19.89 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.3674, allocations: 115 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3674, allocations: 3.938 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3674, allocations: 0 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3674, allocations: 3.984 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.3679, allocations: 395.6 kB / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3679, allocations: 3.938 kB / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.3679, allocations: 8 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3679, allocations: 0 / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3679, allocations: 4 kB / 0.5675 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.3679, allocations: 8.297 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3679, allocations: 80 / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.3682, allocations: 208.3 kB / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.3682, allocations: 85.06 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.3683, allocations: 8 kB / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.3683, allocations: 11.88 kB / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.3684, allocations: 11.92 kB / 0.5678 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3684, allocations: 0 / 0.5678 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.3685, allocations: 152.2 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3685, allocations: 0 / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000254/0.3688, allocations: 31.92 kB / 0.568 GB, free: 13.29 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.002047/0.3708, allocations: 1.074 MB / 0.569 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.371, allocations: 63.84 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.371, allocations: 4 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.614e-05/0.3711, allocations: 19.94 kB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3714, allocations: 35.53 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.3733, allocations: 1.657 MB / 0.5707 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.3737, allocations: 0.7041 MB / 0.5714 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.402e-05/0.3737, allocations: 20.95 kB / 0.5714 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.3738, allocations: 35.42 kB / 0.5715 GB, free: 9.703 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3738, allocations: 0 / 0.5715 GB, free: 9.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.3989, allocations: 3.521 MB / 0.5749 GB, free: 6.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.293, allocations: 0.75 kB / 0.5749 GB, free: 6.184 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.405362433055416]