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.0008391/0.0008391, allocations: 96.27 kB / 20.96 MB, free: 3.473 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.001122/0.001122, allocations: 152.9 kB / 24.26 MB, free: 176 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.9285/0.9285, allocations: 177 MB / 204.4 MB, free: 5.629 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.2631/0.2631, allocations: 34.26 MB / 295.2 MB, free: 0.6445 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.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 1.443e-06/1.443e-06, allocations: 0 / 376.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.713e-05, allocations: 2.312 kB / 376.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002199/0.002216, allocations: 1.726 MB / 378.5 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003496, allocations: 0.9735 MB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.009e-05/0.003586, allocations: 3.938 kB / 379.5 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.003893, allocations: 43.75 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.004192, allocations: 103.5 kB / 379.6 MB, free: 468 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.004378, allocations: 75.67 kB / 379.7 MB, free: 392 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.004545, allocations: 111.6 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.00464, allocations: 11.94 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.524e-05/0.004725, allocations: 51.88 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.052e-05/0.004805, allocations: 27.86 kB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.004823, allocations: 4 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.778e-05/0.004911, allocations: 39.98 kB / 380 MB, free: 144 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.004974, allocations: 27.84 kB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.005018, allocations: 19.92 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.005236, allocations: 119.7 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005239, allocations: 0 / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00524, allocations: 0 / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005244, allocations: 0 / 380.1 MB, free: 15.97 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.000527/0.005771, allocations: 349.5 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.005818, allocations: 8.031 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.00585, allocations: 30.75 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.0059, allocations: 20.83 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.00609, allocations: 158.1 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.006104, allocations: 4.375 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.006123, allocations: 4.375 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.006251, allocations: 58.23 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.006259, allocations: 192 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.006268, allocations: 4.125 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.006273, allocations: 0 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.314e-05/0.006326, allocations: 23.98 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.006632, allocations: 252 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.006754, allocations: 62.61 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.006792, allocations: 24.78 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.006802, allocations: 4 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.00691, allocations: 67.39 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.006912, allocations: 0 / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000411/0.007323, allocations: 185.3 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.007352, allocations: 55.41 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.007504, allocations: 206.7 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.007516, allocations: 25.7 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.007564, allocations: 108.1 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.007589, allocations: 27.78 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.007617, allocations: 17.72 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.007711, allocations: 334.8 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-05/0.007763, allocations: 19.98 kB / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.793e-05/0.007811, allocations: 37.7 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.668e-05/0.007887, allocations: 65.64 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007888, allocations: 0 / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001188/0.008007, allocations: 105.6 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.008019, allocations: 4 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.008027, allocations: 7.984 kB / 382.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.008038, allocations: 4.031 kB / 382.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.008104, allocations: 15.94 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.00811, allocations: 160 / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.008144, allocations: 15.94 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.008151, allocations: 7.984 kB / 382.4 MB, free: 13.5 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.451e-05/0.008226, allocations: 121.8 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.008242, allocations: 19.94 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.008418, allocations: 119.1 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.00842, allocations: 0 / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.008425, allocations: 4 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.008429, allocations: 4 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.008744, allocations: 370.3 kB / 383 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008746, allocations: 4.375 kB / 383 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.008768, allocations: 8 kB / 383 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.00877, allocations: 0 / 383 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.008783, allocations: 15.98 kB / 383 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008784, allocations: 0 / 383 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.008786, allocations: 0 / 383 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.008939, allocations: 212.2 kB / 383.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.008952, allocations: 15.94 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.008972, allocations: 8 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.833e-05/0.00901, allocations: 3.984 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.009044, allocations: 15.86 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.009056, allocations: 4 kB / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.423e-05/0.00915, allocations: 151.2 kB / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009151, allocations: 0 / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.009349, allocations: 23.94 kB / 383.5 MB, free: 12.34 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.001108/0.01046, allocations: 1.121 MB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.01059, allocations: 67.89 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01059, allocations: 0 / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.075e-05/0.01063, allocations: 24 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.01086, allocations: 36.03 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.01218, allocations: 1.692 MB / 386.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.74e-05/0.01225, allocations: 88.31 kB / 386.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.862e-05/0.01229, allocations: 16.97 kB / 386.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.01234, allocations: 48.42 kB / 386.6 MB, free: 9.281 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01234, allocations: 0 / 386.6 MB, free: 9.281 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.02859, allocations: 4.379 MB / 390.9 MB, free: 4.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.142, allocations: 3.281 kB / 390.9 MB, free: 4.91 MB / 362.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/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: 9.20682067424059]