Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.001609/0.001609, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001513/0.001513, allocations: 207.5 kB / 23.72 MB, free: 4.391 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.409/1.409, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.2247/0.2247, allocations: 46.95 MB / 360.8 MB, free: 3.922 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.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 83.88 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3101, allocations: 66.08 MB / 0.5608 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003123/0.3132, allocations: 1.716 MB / 0.5624 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.315, allocations: 0.967 MB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.3151, allocations: 4 kB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.3154, allocations: 47.75 kB / 0.5634 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.3157, allocations: 99.59 kB / 0.5635 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.3159, allocations: 75.67 kB / 0.5636 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.3161, allocations: 107.7 kB / 0.5637 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.3161, allocations: 9.828 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.238e-05/0.3162, allocations: 43.78 kB / 0.5637 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.114e-05/0.3163, allocations: 39.72 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3163, allocations: 4 kB / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.3164, allocations: 39.98 kB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.3165, allocations: 23.91 kB / 0.5638 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.3165, allocations: 35.8 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.3167, allocations: 123.4 kB / 0.564 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3167, allocations: 0 / 0.564 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3168, allocations: 0 / 0.564 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.3168, allocations: 0 / 0.564 GB, free: 0.6562 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.0005313/0.3173, allocations: 353.5 kB / 0.5643 GB, free: 288 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3173, allocations: 12.03 kB / 0.5643 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.3174, allocations: 30.75 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.3174, allocations: 12.88 kB / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.3177, allocations: 166.2 kB / 0.5645 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3177, allocations: 8.375 kB / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3177, allocations: 384 / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3179, allocations: 57.86 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3179, allocations: 0 / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.3179, allocations: 7.938 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.3179, allocations: 0 / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/0.3179, allocations: 19.92 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.3183, allocations: 263.9 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.3185, allocations: 54.67 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.3186, allocations: 28.78 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.3186, allocations: 0 / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.3188, allocations: 67.39 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3188, allocations: 0 / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005947/0.3194, allocations: 189.3 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3194, allocations: 55.34 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3197, allocations: 226.2 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3197, allocations: 25.7 kB / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.888e-05/0.3198, allocations: 108.1 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.3198, allocations: 27.84 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.3198, allocations: 25.7 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.32, allocations: 330.8 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.32, allocations: 19.98 kB / 0.566 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.3201, allocations: 37.7 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3203, allocations: 61.64 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3203, allocations: 0 / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001961/0.3204, allocations: 105.5 kB / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3205, allocations: 8 kB / 0.5662 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3205, allocations: 4.031 kB / 0.5662 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3205, allocations: 0 / 0.5662 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.261e-05/0.3206, allocations: 15.98 kB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3206, allocations: 4 kB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.3206, allocations: 3.938 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3206, allocations: 4 kB / 0.5662 GB, free: 14.16 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.0001162/0.3208, allocations: 133.8 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.3208, allocations: 11.91 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.3211, allocations: 123.1 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3211, allocations: 8 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3211, allocations: 0 / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3211, allocations: 3.984 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.3216, allocations: 374.4 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3216, allocations: 0 / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.3216, allocations: 11.94 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3216, allocations: 4 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3216, allocations: 0 / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3216, allocations: 3.938 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3216, allocations: 0 / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3219, allocations: 224.2 kB / 0.5671 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.3219, allocations: 7.953 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.3219, allocations: 4 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.322, allocations: 8.312 kB / 0.5671 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.3221, allocations: 11.92 kB / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.3221, allocations: 4 kB / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.3222, allocations: 163.2 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3222, allocations: 0 / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000288/0.3225, allocations: 24 kB / 0.5673 GB, free: 12.97 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.002316/0.3248, allocations: 1.128 MB / 0.5684 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.325, allocations: 59.86 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.325, allocations: 0 / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.789e-05/0.3251, allocations: 43.97 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.3255, allocations: 23.97 kB / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.3275, allocations: 1.7 MB / 0.5702 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.3277, allocations: 100.6 kB / 0.5703 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.326e-05/0.3277, allocations: 24.94 kB / 0.5703 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.3278, allocations: 43.41 kB / 0.5703 GB, free: 9.895 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3278, allocations: 0 / 0.5703 GB, free: 9.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.3573, allocations: 4.175 MB / 0.5744 GB, free: 5.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.42, allocations: 19.31 kB / 0.5744 GB, free: 5.727 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_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_Test45.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.407844217028469]