Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.0008889/0.0008889, allocations: 92.31 kB / 20.95 MB, free: 3.598 MB / 18.57 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.000928/0.000928, allocations: 164.9 kB / 24.26 MB, free: 292 kB / 18.57 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 0.9315/0.9315, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2469/0.2469, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 376.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.353e-05, allocations: 2.312 kB / 376.8 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002075/0.002088, allocations: 1.713 MB / 378.5 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.003221, allocations: 0.9852 MB / 379.5 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.361e-05/0.003295, allocations: 3.938 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.003572, allocations: 51.75 kB / 379.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.003836, allocations: 111.5 kB / 379.6 MB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.003988, allocations: 71.67 kB / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.004125, allocations: 111.6 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.245e-05/0.004207, allocations: 7.984 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.004282, allocations: 51.84 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.004344, allocations: 27.91 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.004358, allocations: 4 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.207e-05/0.004431, allocations: 47.86 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.004485, allocations: 35.91 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.004517, allocations: 23.86 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.004813, allocations: 135.5 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004816, allocations: 4 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004817, allocations: 0 / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.00482, allocations: 0 / 380.2 MB, free: 15.93 MB / 362.7 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.0003935/0.005214, allocations: 377.3 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.005249, allocations: 8.031 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.564e-05/0.005275, allocations: 30.75 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.005319, allocations: 24.78 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.005506, allocations: 169.5 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.005517, allocations: 384 / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.005537, allocations: 8.375 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.00565, allocations: 50.23 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.005658, allocations: 192 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.005669, allocations: 8.125 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005674, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.053e-05/0.005724, allocations: 23.98 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.00602, allocations: 271.9 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.006139, allocations: 62.61 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.006175, allocations: 20.8 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.006185, allocations: 0 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.006296, allocations: 79.3 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.006297, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004118/0.006709, allocations: 193.2 kB / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.006734, allocations: 51.41 kB / 381.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.006913, allocations: 289.4 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.006924, allocations: 25.7 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.006973, allocations: 120.1 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.006996, allocations: 23.8 kB / 381.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.007024, allocations: 25.7 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.007097, allocations: 326.8 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/0.00713, allocations: 23.98 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.007172, allocations: 37.7 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.099e-05/0.007243, allocations: 65.58 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.007243, allocations: 0 / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001166/0.00736, allocations: 117.6 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.007376, allocations: 4 kB / 382.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.00738, allocations: 0 / 382.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.00739, allocations: 0 / 382.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.00745, allocations: 23.94 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.007455, allocations: 160 / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.007486, allocations: 7.984 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.007492, allocations: 3.984 kB / 382.6 MB, free: 13.3 MB / 362.7 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 7.278e-05/0.007564, allocations: 137.8 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.007582, allocations: 23.86 kB / 382.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.007734, allocations: 131.1 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007736, allocations: 0 / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.007739, allocations: 0 / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.007745, allocations: 7.969 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.008031, allocations: 382.4 kB / 383.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.008033, allocations: 384 / 383.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.008055, allocations: 11.98 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.00806, allocations: 4 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.008068, allocations: 4 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008069, allocations: 3.938 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.00807, allocations: 7.969 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.008208, allocations: 224.2 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.008222, allocations: 15.89 kB / 383.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.008238, allocations: 4 kB / 383.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.008277, allocations: 4 kB / 383.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.008313, allocations: 11.92 kB / 383.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.008326, allocations: 4 kB / 383.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004693/0.008795, allocations: 219.5 kB / 383.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008795, allocations: 0 / 383.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.00897, allocations: 23.94 kB / 383.8 MB, free: 12.02 MB / 362.7 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.0009441/0.009914, allocations: 1.13 MB / 384.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.01003, allocations: 63.91 kB / 385 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01004, allocations: 4.062 kB / 385 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.01008, allocations: 27.92 kB / 385 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.0103, allocations: 38.05 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.01154, allocations: 1.893 MB / 386.9 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.924e-05/0.01161, allocations: 113.2 kB / 387 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.761e-05/0.01165, allocations: 12.97 kB / 387 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.0117, allocations: 44.48 kB / 387.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.0117, allocations: 0 / 387.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.02784, allocations: 4.75 MB / 391.8 MB, free: 3.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.754/6.782, allocations: 14.39 kB / 391.8 MB, free: 3.973 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00049781 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.776634913869202]