Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001517/0.001517, 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.00125/0.00125, allocations: 170.6 kB / 24.99 MB, free: 8.789 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2524/0.2524, allocations: 32.81 MB / 294.6 MB, free: 1.277 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.764e-05, allocations: 2.312 kB / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002292/0.002319, allocations: 1.642 MB / 377.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007509/0.00307, allocations: 0.5336 MB / 378.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.003138, allocations: 4 kB / 378.2 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.003348, allocations: 23.84 kB / 378.2 MB, free: 2.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.003629, allocations: 87.55 kB / 378.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.00388, allocations: 111.5 kB / 378.4 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.004016, allocations: 67.83 kB / 378.5 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.004108, allocations: 4 kB / 378.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.458e-05/0.004162, allocations: 31.91 kB / 378.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.962e-05/0.004212, allocations: 19.92 kB / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.004224, allocations: 0 / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.262e-05/0.004297, allocations: 35.92 kB / 378.6 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.004342, allocations: 19.91 kB / 378.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.004372, allocations: 15.94 kB / 378.6 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.004518, allocations: 67.75 kB / 378.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.00452, allocations: 0 / 378.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004521, allocations: 0 / 378.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.004526, 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.0004218/0.004947, allocations: 420 kB / 379.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.004989, allocations: 8.031 kB / 379.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.005045, allocations: 8.891 kB / 379.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.00524, allocations: 144.4 kB / 379.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.005256, allocations: 8.375 kB / 379.2 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.005278, allocations: 4.375 kB / 379.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.005409, allocations: 58.94 kB / 379.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.005418, allocations: 192 / 379.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.005429, allocations: 4.125 kB / 379.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.005438, allocations: 0 / 379.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.096e-05/0.005469, allocations: 8 kB / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.005767, allocations: 275.8 kB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.005917, allocations: 43.05 kB / 379.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.005939, allocations: 11.69 kB / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.005957, allocations: 3.938 kB / 379.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.00598, allocations: 41.47 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005981, allocations: 0 / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003455/0.006326, allocations: 105.4 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.006355, allocations: 51.41 kB / 379.8 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.006477, allocations: 204.9 kB / 380 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.006491, allocations: 29.7 kB / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.006551, allocations: 146.8 kB / 380.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.006572, allocations: 11.89 kB / 380.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.006607, allocations: 23.38 kB / 380.2 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.006712, allocations: 0.4961 MB / 380.7 MB, free: 24 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.006731, allocations: 11.94 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.352e-05/0.006745, allocations: 4.188 kB / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.006797, allocations: 35.67 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.006798, allocations: 0 / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.582e-05/0.006874, allocations: 57.61 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.006888, allocations: 4 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.006892, allocations: 0 / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.006907, allocations: 3.984 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.293e-05/0.00696, allocations: 15.88 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.006965, allocations: 4 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.006983, allocations: 0 / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.006989, allocations: 8 kB / 380.9 MB, free: 15.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 (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.447e-05/0.007054, allocations: 164.5 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.007073, allocations: 7.953 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.00719, allocations: 70.14 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.007192, allocations: 288 / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.007195, allocations: 0 / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.0072, allocations: 3.984 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.007457, allocations: 325.3 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.007459, allocations: 0 / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.007495, allocations: 15.98 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.007499, allocations: 4 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.007511, allocations: 192 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.007514, allocations: 4 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.007515, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.007624, allocations: 211.8 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-06/0.007632, allocations: 7.953 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.007645, allocations: 0 / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.218e-05/0.007677, allocations: 7.984 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.007707, allocations: 4 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.007712, allocations: 4 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.301e-05/0.007775, allocations: 159.1 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007775, allocations: 0 / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.007971, 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.0008386/0.00881, allocations: 378.2 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.923e-05/0.008909, allocations: 27.67 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.00891, allocations: 7.938 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.008932, 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.0002267/0.009159, allocations: 23.86 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.0003927/0.009552, allocations: 186.5 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.717e-05/0.009599, allocations: 63.34 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.156e-05/0.00964, 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.84e-05/0.009669, allocations: 16.5 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.00967, allocations: 0 / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of Templates: time 0.002992/0.01266, allocations: 1.178 MB / 383.8 MB, free: 13 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.2405943849589676]