Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001118/0.001118, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001216/0.001216, allocations: 165.8 kB / 24.82 MB, free: 9.266 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 1.198/1.198, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.3878/0.3878, allocations: 34.26 MB / 296.1 MB, free: 0.7031 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.CombiTable1Ds.Test5,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.416e-06/3.416e-06, allocations: 0 / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.168e-05/4.509e-05, allocations: 2.312 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003342/0.003387, allocations: 1.645 MB / 380.2 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.0044, allocations: 0.5336 MB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.004504, allocations: 0 / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.004937, allocations: 91.67 kB / 380.8 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.005401, allocations: 111.5 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.005786, allocations: 95.69 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.006003, allocations: 91.67 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.006132, allocations: 15.94 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.798e-05/0.00623, allocations: 47.88 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.006347, allocations: 55.86 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.006366, allocations: 4 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.006481, allocations: 39.98 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.006536, allocations: 15.94 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.006574, allocations: 23.91 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.006805, allocations: 91.56 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.006811, allocations: 4 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.006814, allocations: 0 / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.00682, allocations: 0 / 381.4 MB, free: 15.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000555/0.007375, allocations: 451.8 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0004489/0.007824, allocations: 12.03 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.007877, allocations: 8.891 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.008054, allocations: 156.4 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.008067, allocations: 8.312 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.008091, allocations: 4.375 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.008232, allocations: 54.95 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.008245, allocations: 4.188 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.008253, allocations: 4.125 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.008261, allocations: 4 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.008288, allocations: 11.97 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.008634, allocations: 272.3 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.9e-05/0.008703, allocations: 35.05 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.008721, allocations: 15.67 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.008754, allocations: 3.938 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.008785, allocations: 45.33 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.008786, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005884/0.009375, allocations: 153.4 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.009412, allocations: 63.38 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.009583, allocations: 241.8 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.0096, allocations: 25.7 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.009675, allocations: 158.8 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.009708, allocations: 27.73 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.00975, allocations: 31.36 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.009916, allocations: 0.4962 MB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.441e-05/0.00994, allocations: 11.98 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.009958, allocations: 8 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.125e-05/0.01001, allocations: 31.66 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.01001, allocations: 7.938 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001146/0.01013, allocations: 73.53 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.01015, allocations: 4 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01015, allocations: 0 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.01017, allocations: 0 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.01026, allocations: 15.98 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.01027, allocations: 4 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/0.01029, allocations: 4 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.0103, allocations: 8 kB / 383.8 MB, free: 12.87 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 8.507e-05/0.01039, allocations: 156.5 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.01043, allocations: 11.95 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.01062, allocations: 95.31 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01063, allocations: 0 / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.01063, allocations: 4 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01063, allocations: 0 / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.01101, allocations: 353.7 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.01101, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.01108, allocations: 19.97 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.01109, allocations: 4 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.0111, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.0111, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.0111, allocations: 3.984 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.01126, allocations: 235.4 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.01128, allocations: 7.953 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.01129, allocations: 4 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.01133, allocations: 4 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.01138, allocations: 11.97 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.01139, allocations: 4 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.666e-05/0.01147, allocations: 171.1 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01147, allocations: 0 / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.01166, allocations: 23.94 kB / 384.9 MB, free: 11.7 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.001176/0.01283, allocations: 430.2 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.01294, allocations: 39.61 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.01295, allocations: 4 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.01298, allocations: 27.61 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.01324, allocations: 29.5 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.01372, allocations: 238.1 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.173e-05/0.01377, allocations: 71.33 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.709e-05/0.01381, allocations: 20.7 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.01388, allocations: 78.2 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01388, allocations: 0 / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of Templates: time 0.004308/0.01819, allocations: 1.526 MB / 387.3 MB, free: 9.363 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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: 3.6356134936213493]