Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.001319/0.001319, allocations: 112 kB / 20.48 MB, free: 1.27 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.001684/0.001684, allocations: 212.7 kB / 23.77 MB, free: 4.441 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2411/0.2411, allocations: 46.95 MB / 360.9 MB, free: 3.93 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.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 83.86 kB / 0.4963 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3338, allocations: 66.09 MB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.004058/0.3378, allocations: 1.702 MB / 0.5625 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.3401, allocations: 0.9749 MB / 0.5634 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.3403, allocations: 4 kB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.3406, allocations: 47.75 kB / 0.5635 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.341, allocations: 107.5 kB / 0.5636 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.3412, allocations: 79.67 kB / 0.5637 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.3414, allocations: 107.7 kB / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3415, allocations: 9.812 kB / 0.5638 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.034e-05/0.3416, allocations: 39.8 kB / 0.5638 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.589e-05/0.3417, allocations: 39.77 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3418, allocations: 4 kB / 0.5639 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3419, allocations: 43.92 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.342, allocations: 27.92 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.342, allocations: 31.75 kB / 0.564 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.3423, allocations: 151.3 kB / 0.5641 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3423, allocations: 0 / 0.5641 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3423, allocations: 0 / 0.5641 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3423, allocations: 0 / 0.5641 GB, free: 0.6523 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.0006372/0.3429, allocations: 373.3 kB / 0.5645 GB, free: 264 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.343, allocations: 15.97 kB / 0.5645 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/0.343, allocations: 34.75 kB / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.3431, allocations: 16.84 kB / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.3434, allocations: 155.3 kB / 0.5647 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.3434, allocations: 8.406 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.3434, allocations: 8.312 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.3436, allocations: 57.8 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3436, allocations: 4 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3436, allocations: 0 / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3436, allocations: 0 / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.635e-05/0.3437, allocations: 27.92 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.3442, allocations: 271.9 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.3444, allocations: 50.69 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/0.3445, allocations: 24.84 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.3445, allocations: 4 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.3447, allocations: 67.33 kB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3447, allocations: 0 / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006667/0.3454, allocations: 193.3 kB / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.3454, allocations: 51.41 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.3457, allocations: 282.7 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3458, allocations: 25.7 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.628e-05/0.3459, allocations: 124.1 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.3459, allocations: 31.77 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.3459, allocations: 21.72 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3461, allocations: 334.8 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.164e-05/0.3462, allocations: 20 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.3463, allocations: 37.7 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3464, allocations: 57.64 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3464, allocations: 4 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002173/0.3466, allocations: 109.5 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3466, allocations: 8.031 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3466, allocations: 192 / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.3467, allocations: 4 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3468, allocations: 23.86 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3468, allocations: 0 / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.3468, allocations: 4 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3468, allocations: 4 kB / 0.5664 GB, free: 14.04 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.000136/0.347, allocations: 137.8 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.347, allocations: 15.91 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.3473, allocations: 127 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3473, allocations: 0 / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3473, allocations: 3.984 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3473, allocations: 4 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.3479, allocations: 382.5 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3479, allocations: 384 / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.3479, allocations: 11.98 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3479, allocations: 4 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.348, allocations: 8 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.348, allocations: 7.875 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.348, allocations: 4.031 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.3483, allocations: 216.2 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.3483, allocations: 15.89 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.3483, allocations: 4 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.3484, allocations: 7.938 kB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.3484, allocations: 7.984 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.3484, allocations: 3.938 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.3486, allocations: 212.6 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3486, allocations: 0 / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.3489, allocations: 27.89 kB / 0.5676 GB, free: 12.76 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.0025/0.3514, allocations: 1.131 MB / 0.5687 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.3517, allocations: 63.86 kB / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3517, allocations: 8 kB / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/0.3517, allocations: 35.91 kB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.3521, allocations: 27.97 kB / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.3545, allocations: 1.847 MB / 0.5706 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.3546, allocations: 101.1 kB / 0.5707 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.351e-05/0.3547, allocations: 21.33 kB / 0.5707 GB, free: 9.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.3547, allocations: 43.42 kB / 0.5708 GB, free: 9.539 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3547, allocations: 0 / 0.5708 GB, free: 9.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.387, allocations: 4.554 MB / 0.5752 GB, free: 5.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.53, allocations: 14.19 kB / 0.5753 GB, free: 5.008 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.726055291015655]