Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001451/0.001451, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001534/0.001534, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.562/1.562, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3478/0.3478, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.343e-06/7.343e-06, allocations: 4 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.768e-05/5.502e-05, allocations: 6.312 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.004204/0.004259, allocations: 1.599 MB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.00558, allocations: 0.5297 MB / 379.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.005666, allocations: 4 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.005913, allocations: 27.78 kB / 379.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.006271, allocations: 75.62 kB / 379.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.006669, allocations: 111.6 kB / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.006847, allocations: 63.84 kB / 379.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.889e-05/0.006946, allocations: 11.98 kB / 379.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.007028, allocations: 27.91 kB / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.007089, allocations: 19.92 kB / 379.8 MB, free: 468 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.00711, allocations: 4 kB / 379.8 MB, free: 464 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.007215, allocations: 39.86 kB / 379.8 MB, free: 424 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.007274, allocations: 15.92 kB / 379.8 MB, free: 408 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.007318, allocations: 15.92 kB / 379.8 MB, free: 392 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.007541, allocations: 75.73 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.007545, allocations: 0 / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007546, allocations: 0 / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.007552, allocations: 0 / 379.9 MB, free: 316 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005876/0.00814, allocations: 301.5 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.008187, allocations: 12.03 kB / 380.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.008249, allocations: 12.84 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.00849, allocations: 151.4 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.008501, allocations: 384 / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.008527, allocations: 4.375 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.008678, allocations: 46.25 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.008689, allocations: 192 / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.008699, allocations: 0.75 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.008706, allocations: 4 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.008812, allocations: 31.84 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.009227, allocations: 228.5 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.009501, allocations: 42.56 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.009579, allocations: 20.94 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.009607, allocations: 0 / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.00964, allocations: 34.56 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 6.92e-07/0.009641, allocations: 0 / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006974/0.01034, allocations: 157.5 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.01039, allocations: 51.41 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.01058, allocations: 158.1 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.01061, allocations: 25.7 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/0.01068, allocations: 92.14 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.01072, allocations: 15.84 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.01077, allocations: 21.72 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.01095, allocations: 318.8 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/0.01104, allocations: 23.92 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.01111, allocations: 19.98 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.01129, allocations: 61.02 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.01129, allocations: 0 / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002278/0.01152, allocations: 93.55 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.01153, allocations: 4 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01154, allocations: 48 / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.01156, allocations: 3.984 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.01164, allocations: 19.92 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.01165, allocations: 0 / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.0117, allocations: 8 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.0117, allocations: 0 / 381.8 MB, free: 14.21 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 (5): * Single equations (assignments): 5 * 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.0001202/0.01182, allocations: 121.8 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.01187, allocations: 15.89 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.01215, allocations: 94.11 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.01216, allocations: 7.984 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01216, allocations: 0 / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.01217, allocations: 0 / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.01267, allocations: 306.1 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01267, allocations: 0 / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.01273, allocations: 15.92 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01273, allocations: 0 / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.01274, allocations: 4 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01274, allocations: 0 / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01274, allocations: 192 / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.01304, allocations: 195.3 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.01306, allocations: 7.953 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.01308, allocations: 4 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.01316, allocations: 7.984 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.0132, allocations: 0 / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.01321, allocations: 4 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.01332, allocations: 117.8 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01332, allocations: 4 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.01358, allocations: 12 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.002029/0.01561, allocations: 422.8 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.01584, allocations: 59.95 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01584, allocations: 3.938 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.742e-05/0.01593, allocations: 23.98 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.01634, allocations: 23.86 kB / 383.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.0169, allocations: 200.9 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.01702, allocations: 79.33 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.289e-05/0.01708, allocations: 11.98 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.01713, allocations: 16.5 kB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01713, allocations: 0 / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of Templates: time 0.004601/0.02173, allocations: 1.176 MB / 384.7 MB, free: 11.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.912667502998374]