Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001014/0.001014, allocations: 75.75 kB / 21.69 MB, free: 2.848 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.001109/0.001109, allocations: 160.2 kB / 24.99 MB, free: 9.316 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.59 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.2818/0.2818, allocations: 32.81 MB / 294.6 MB, free: 1.27 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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 376 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.221e-05, allocations: 9.062 kB / 376 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.00249/0.002522, allocations: 1.661 MB / 377.7 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008256/0.003347, allocations: 0.5337 MB / 378.2 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.771e-05/0.003425, allocations: 0 / 378.2 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.003739, allocations: 127.6 kB / 378.3 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000382/0.004121, allocations: 127.5 kB / 378.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.004411, allocations: 91.62 kB / 378.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.004598, allocations: 99.72 kB / 378.7 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.004709, allocations: 11.98 kB / 378.7 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.782e-05/0.004797, allocations: 59.88 kB / 378.7 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.004937, allocations: 91.75 kB / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.004957, allocations: 4 kB / 378.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.126e-05/0.005049, allocations: 43.92 kB / 378.9 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.005121, allocations: 31.86 kB / 378.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.005162, allocations: 15.94 kB / 378.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.005361, allocations: 103.6 kB / 379 MB, free: 1.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005364, allocations: 0 / 379 MB, free: 1.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.005365, allocations: 0 / 379 MB, free: 1.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.005372, allocations: 0 / 379 MB, free: 1.93 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.0004991/0.005871, allocations: 475.6 kB / 379.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.005916, allocations: 8.031 kB / 379.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.005971, allocations: 16.84 kB / 379.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.006135, allocations: 152.4 kB / 379.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.006146, allocations: 4.375 kB / 379.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.006168, allocations: 4.375 kB / 379.7 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.0063, allocations: 54.95 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.006311, allocations: 192 / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.006326, allocations: 8.125 kB / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.006333, allocations: 0 / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.932e-05/0.006372, allocations: 19.92 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.006697, allocations: 303.7 kB / 380 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.984e-05/0.006767, allocations: 43.05 kB / 380.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.006797, allocations: 19.56 kB / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.006822, allocations: 0 / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.006849, allocations: 45.41 kB / 380.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.00685, allocations: 0 / 380.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006337/0.007484, allocations: 169.7 kB / 380.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.007524, allocations: 59.41 kB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.007724, allocations: 274.8 kB / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.007739, allocations: 25.7 kB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.007849, allocations: 174.8 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.007882, allocations: 23.81 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.007924, allocations: 27.36 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.008092, allocations: 0.504 MB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.008117, allocations: 4 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.008139, allocations: 15.98 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.078e-05/0.0082, allocations: 39.84 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.008201, allocations: 0 / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001157/0.008317, allocations: 77.59 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.008335, allocations: 8 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.00834, allocations: 96 / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.008358, allocations: 3.984 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.008473, allocations: 23.98 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.008483, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.008515, allocations: 7.938 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.008525, allocations: 3.984 kB / 381.6 MB, free: 15.16 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 0.000114/0.008639, allocations: 168.5 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.00867, allocations: 15.91 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.008866, allocations: 87.12 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.00887, allocations: 4 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.008874, allocations: 0 / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.00888, allocations: 3.984 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.009258, allocations: 385 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.009265, allocations: 11.92 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.009313, allocations: 12 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.009316, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.009326, allocations: 3.938 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.00933, allocations: 8.031 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.009332, allocations: 0 / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.009495, allocations: 243.4 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.009508, allocations: 7.953 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.009527, allocations: 4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.009566, allocations: 4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.00961, allocations: 11.92 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.009619, allocations: 8 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.009733, allocations: 188.1 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009733, allocations: 4 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.009913, allocations: 19.94 kB / 382.7 MB, free: 13.91 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.001148/0.01106, allocations: 444.1 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.01125, allocations: 39.67 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.01125, allocations: 0 / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.0113, allocations: 35.61 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.01159, allocations: 15.95 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.01208, allocations: 267.2 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.43e-05/0.01213, allocations: 76.03 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.024e-05/0.01217, allocations: 17.02 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.01221, allocations: 16.5 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01221, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of Templates: time 0.003874/0.01608, allocations: 1.4 MB / 385 MB, free: 11.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.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.4196143990848213]