Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 77.97 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 170 kB / 24.82 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9418/0.9418, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2318/0.2318, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.508e-05, allocations: 9.484 kB / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.001822/0.001837, allocations: 1.657 MB / 378.2 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006092/0.002446, allocations: 0.5181 MB / 378.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.002493, allocations: 4 kB / 378.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.002713, allocations: 107.7 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.002923, allocations: 127.4 kB / 378.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.003082, allocations: 95.62 kB / 379 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.003205, allocations: 95.73 kB / 379.1 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.11e-05/0.003276, allocations: 7.984 kB / 379.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.44e-05/0.00334, allocations: 55.83 kB / 379.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.366e-05/0.003424, allocations: 63.84 kB / 379.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.003435, allocations: 8 kB / 379.2 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.581e-05/0.003501, allocations: 47.92 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.003539, allocations: 23.92 kB / 379.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.003562, allocations: 23.86 kB / 379.3 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.003684, allocations: 91.66 kB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003686, allocations: 0 / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.003687, allocations: 0 / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.003689, allocations: 0 / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003195/0.004009, allocations: 463.7 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.004039, allocations: 12.03 kB / 379.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.004066, allocations: 16.84 kB / 379.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.004168, allocations: 149.2 kB / 380 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.004176, allocations: 8.375 kB / 380 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.004189, allocations: 384 / 380 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.482e-05/0.004264, allocations: 58.94 kB / 380.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.00427, allocations: 192 / 380.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.004278, allocations: 12.11 kB / 380.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-06/0.004281, allocations: 0 / 380.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.061e-05/0.004302, allocations: 11.92 kB / 380.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.004501, allocations: 268.4 kB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.523e-05/0.004546, allocations: 43.03 kB / 380.4 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.228e-05/0.004558, allocations: 15.62 kB / 380.4 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.004574, allocations: 4 kB / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.004591, allocations: 41.33 kB / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.004592, allocations: 0 / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003603/0.004952, allocations: 149.5 kB / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.004972, allocations: 51.41 kB / 380.7 MB, free: 52 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.005105, allocations: 263 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.005115, allocations: 25.7 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.00517, allocations: 170.8 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.005188, allocations: 23.75 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.005218, allocations: 31.36 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.005332, allocations: 0.5001 MB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.005346, allocations: 11.98 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.005358, allocations: 15.98 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.652e-05/0.005395, allocations: 31.62 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005397, allocations: 3.938 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.85e-05/0.005465, allocations: 69.59 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.005474, allocations: 4 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.005478, allocations: 8 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.005486, allocations: 0 / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.232e-05/0.005538, allocations: 15.98 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.00554, allocations: 0 / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.005559, allocations: 11.94 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.005563, allocations: 0 / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.135e-05/0.005624, allocations: 164.5 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.005647, allocations: 19.91 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.00575, allocations: 79.12 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005751, allocations: 4 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.005753, allocations: 4 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.005755, allocations: 0 / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.005985, allocations: 349.5 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005986, allocations: 0 / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.006019, allocations: 19.92 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.006022, allocations: 4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.006027, allocations: 4 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.006028, allocations: 0 / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006029, allocations: 0 / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.006129, allocations: 231.8 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-06/0.006139, allocations: 16.36 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.006151, allocations: 11.98 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.372e-05/0.006185, allocations: 0 / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.006204, allocations: 7.938 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.006209, allocations: 7.984 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.284e-05/0.006272, allocations: 171.1 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006272, allocations: 0 / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.006425, allocations: 23.98 kB / 382.9 MB, free: 13.65 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008181/0.007243, allocations: 458.5 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.681e-05/0.00733, allocations: 43.59 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.007331, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.542e-05/0.007357, allocations: 23.67 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.007545, allocations: 19.98 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.007837, allocations: 245.5 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.577e-05/0.007873, allocations: 67.33 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.371e-05/0.007906, allocations: 17.09 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.007959, allocations: 86.19 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.00796, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Templates: time 0.002714/0.01067, allocations: 1.518 MB / 385.4 MB, free: 11.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.688853939063847]