Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009124/0.0009124, 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.001425/0.001425, 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 0.9386/0.9386, 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.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.2689/0.2689, allocations: 32.81 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.777e-05, allocations: 9.203 kB / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003284/0.003312, allocations: 1.653 MB / 378.2 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.004408, allocations: 0.522 MB / 378.7 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.439e-05/0.004503, allocations: 0 / 378.7 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.004826, allocations: 95.61 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.005189, allocations: 111.6 kB / 378.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.005526, allocations: 91.62 kB / 379 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.00571, allocations: 91.73 kB / 379.1 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.005817, allocations: 19.92 kB / 379.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.459e-05/0.005901, allocations: 43.89 kB / 379.1 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.006012, allocations: 55.86 kB / 379.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.006029, allocations: 4 kB / 379.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.006137, allocations: 35.98 kB / 379.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.006185, allocations: 23.92 kB / 379.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.006217, allocations: 27.86 kB / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.006431, allocations: 91.61 kB / 379.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006434, allocations: 0 / 379.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006435, allocations: 0 / 379.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.006439, allocations: 0 / 379.4 MB, free: 1.5 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.0004714/0.006911, allocations: 451.7 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.006962, allocations: 12.03 kB / 379.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.007009, allocations: 8.891 kB / 379.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.007185, allocations: 160.3 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.007196, allocations: 384 / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.007221, allocations: 12.36 kB / 380 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.007349, allocations: 54.95 kB / 380 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.007361, allocations: 4.172 kB / 380 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.007374, allocations: 8.125 kB / 380.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.007382, allocations: 8 kB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.02e-05/0.007413, allocations: 7.984 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.007792, allocations: 268.3 kB / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.875e-05/0.00786, allocations: 39.05 kB / 380.4 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.007879, allocations: 11.69 kB / 380.4 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.007904, allocations: 0 / 380.4 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.00793, allocations: 45.41 kB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.007932, allocations: 4 kB / 380.4 MB, free: 312 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005379/0.00847, allocations: 149.3 kB / 380.6 MB, free: 156 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.008499, allocations: 59.39 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.008698, allocations: 241.8 kB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.008713, allocations: 25.7 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.008791, allocations: 162.8 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.008821, allocations: 23.75 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.008866, allocations: 35.34 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.009004, allocations: 0.5001 MB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.009023, allocations: 4 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/0.009043, allocations: 12.06 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.198e-05/0.009095, allocations: 31.81 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.009097, allocations: 7.938 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001118/0.009209, allocations: 73.53 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.009227, allocations: 6.031 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.009233, allocations: 3.938 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.009246, allocations: 0 / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.009331, allocations: 15.98 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-06/0.009334, allocations: 4 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.00936, allocations: 4 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.009367, allocations: 4 kB / 381.8 MB, free: 14.88 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.27e-05/0.00945, allocations: 160.5 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.009481, allocations: 11.95 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.009777, allocations: 91.05 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.00978, allocations: 0 / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.009782, allocations: 0 / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.009785, allocations: 0 / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.01013, allocations: 353.5 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01013, allocations: 4.453 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.01019, allocations: 15.98 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.0102, allocations: 4 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.0102, allocations: 4 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01021, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01021, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.01036, allocations: 235.4 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.01038, allocations: 11.94 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.01039, allocations: 4 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.963e-05/0.01045, allocations: 3.984 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.01048, allocations: 15.98 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.01048, allocations: 3.984 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.01057, allocations: 167.1 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01057, allocations: 0 / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002548/0.01083, allocations: 23.94 kB / 382.9 MB, free: 13.72 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.001257/0.01208, allocations: 437.1 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.01219, allocations: 39.59 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.0122, allocations: 8 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.417e-05/0.01223, allocations: 27.62 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.01254, allocations: 23.56 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.01295, allocations: 233.8 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.216e-05/0.013, allocations: 71.34 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.855e-05/0.01305, allocations: 17.02 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.01312, allocations: 82.19 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01312, allocations: 4.062 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Templates: time 0.004084/0.01721, allocations: 1.513 MB / 385.3 MB, free: 11.38 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.7915390450507402]