Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001114/0.001114, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001209/0.001209, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.9804/0.9804, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2698/0.2698, allocations: 32.81 MB / 294.6 MB, free: 1.266 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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.266e-05, allocations: 2.312 kB / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003391/0.003424, allocations: 1.653 MB / 377.7 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.004542, allocations: 0.5297 MB / 378.2 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.507e-05/0.004628, allocations: 4 kB / 378.2 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.004911, allocations: 27.78 kB / 378.2 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.005258, allocations: 75.62 kB / 378.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.00559, allocations: 123.5 kB / 378.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.00578, allocations: 67.78 kB / 378.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.005896, allocations: 7.984 kB / 378.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.005978, allocations: 31.86 kB / 378.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.006045, allocations: 23.91 kB / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.00606, allocations: 0 / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.116e-05/0.006131, allocations: 31.98 kB / 378.6 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.539e-05/0.006176, allocations: 11.94 kB / 378.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.006209, allocations: 19.91 kB / 378.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.006358, allocations: 67.75 kB / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.006361, allocations: 4 kB / 378.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.006362, allocations: 0 / 378.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.006367, allocations: 0 / 378.7 MB, free: 2.293 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004156/0.006782, allocations: 416.1 kB / 379.1 MB, free: 1.852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.006822, allocations: 12.02 kB / 379.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.006865, allocations: 8.891 kB / 379.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.007011, allocations: 140.4 kB / 379.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.007022, allocations: 8.375 kB / 379.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.007041, allocations: 384 / 379.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.007152, allocations: 54.95 kB / 379.3 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.007161, allocations: 192 / 379.3 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.007169, allocations: 8.125 kB / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.007176, allocations: 0 / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.007212, allocations: 15.97 kB / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.007505, allocations: 275.8 kB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.007666, allocations: 43.05 kB / 379.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.007688, allocations: 11.69 kB / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.007708, allocations: 3.938 kB / 379.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.00773, allocations: 33.39 kB / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.007731, allocations: 0 / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003539/0.008085, allocations: 117.4 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.008116, allocations: 55.34 kB / 379.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.008237, allocations: 200.9 kB / 380 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.008249, allocations: 29.7 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.008304, allocations: 146.8 kB / 380.2 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.008325, allocations: 11.91 kB / 380.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.008355, allocations: 27.36 kB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.008463, allocations: 0.4922 MB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.00848, allocations: 7.984 kB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.362e-05/0.008493, allocations: 4.188 kB / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.823e-05/0.008542, allocations: 31.69 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.008542, allocations: 4 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.881e-05/0.008611, allocations: 61.59 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.008623, allocations: 7.938 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.008627, allocations: 0 / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.008639, allocations: 0 / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-05/0.008679, allocations: 15.98 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.008683, allocations: 0 / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.008699, allocations: 0 / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.008706, allocations: 4 kB / 380.9 MB, free: 15.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 (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 6.383e-05/0.00877, allocations: 164.5 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.008787, allocations: 7.953 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.008898, allocations: 70.14 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008899, allocations: 0 / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.008903, allocations: 0 / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.008906, allocations: 3.938 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.009117, allocations: 321.4 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.009119, allocations: 0 / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.009147, allocations: 11.98 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.009149, allocations: 4 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.009155, allocations: 192 / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.009157, allocations: 8 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.009158, allocations: 0 / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.009265, allocations: 215.8 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.009273, allocations: 7.953 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.009285, allocations: 3.938 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.089e-05/0.009316, allocations: 4 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.009348, allocations: 3.984 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.009354, allocations: 8 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.009417, allocations: 155.1 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009417, allocations: 0 / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.00958, allocations: 15.94 kB / 381.9 MB, free: 14.81 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.0008762/0.01046, allocations: 375.7 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.01056, allocations: 35.61 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01056, allocations: 4 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.415e-05/0.01059, allocations: 19.69 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.01081, allocations: 19.92 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.01116, allocations: 186.5 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.203e-05/0.0112, allocations: 63.34 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.602e-05/0.01124, allocations: 15.97 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.01127, allocations: 12.5 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01127, allocations: 4 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of Templates: time 0.002893/0.01416, allocations: 1.171 MB / 383.8 MB, free: 13 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.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.196606145007536]