Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001426/0.001426, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001752/0.001752, allocations: 161 kB / 24.56 MB, free: 4 kB / 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.9561/0.9561, allocations: 177.1 MB / 205 MB, free: 5.633 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.285/0.285, allocations: 32.81 MB / 294.3 MB, free: 1.223 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.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.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.943e-05, allocations: 2.312 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002786/0.002805, allocations: 1.642 MB / 377.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008338/0.003639, allocations: 0.5336 MB / 378.2 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.00369, allocations: 0 / 378.2 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.003881, allocations: 19.8 kB / 378.2 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.004155, allocations: 87.55 kB / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.004381, allocations: 95.62 kB / 378.4 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.004641, allocations: 63.78 kB / 378.5 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.004734, allocations: 11.98 kB / 378.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.004786, allocations: 31.91 kB / 378.5 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.004838, allocations: 11.98 kB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.00485, allocations: 0 / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-05/0.004921, allocations: 43.81 kB / 378.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.004964, allocations: 11.98 kB / 378.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.00499, allocations: 11.92 kB / 378.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.005123, allocations: 67.75 kB / 378.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.005125, allocations: 4 kB / 378.7 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005126, allocations: 0 / 378.7 MB, free: 2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.706e-06/0.00513, allocations: 0 / 378.7 MB, free: 2 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.0003679/0.005498, allocations: 420.1 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.005529, allocations: 8.031 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.00557, allocations: 8.891 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.005692, allocations: 150.4 kB / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.0057, allocations: 384 / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.005719, allocations: 4.375 kB / 379.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.005823, allocations: 54.95 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.005831, allocations: 192 / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.005839, allocations: 8.125 kB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.005845, allocations: 0 / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.741e-05/0.005872, allocations: 7.984 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.006122, allocations: 271.8 kB / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.006282, allocations: 43.05 kB / 379.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.006303, allocations: 11.78 kB / 379.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.006323, allocations: 7.922 kB / 379.6 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.006341, allocations: 37.39 kB / 379.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.006342, allocations: 0 / 379.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003202/0.006662, allocations: 113.5 kB / 379.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.006695, allocations: 51.41 kB / 379.8 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.006806, allocations: 208.9 kB / 380 MB, free: 472 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.006818, allocations: 25.7 kB / 380.1 MB, free: 440 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.006867, allocations: 142.9 kB / 380.2 MB, free: 292 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.006889, allocations: 11.89 kB / 380.2 MB, free: 280 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.006919, allocations: 23.38 kB / 380.2 MB, free: 248 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.007032, allocations: 0.4961 MB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.00705, allocations: 7.938 kB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.007063, allocations: 8 kB / 380.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.007099, allocations: 31.61 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.0071, allocations: 4.188 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.943e-05/0.007169, allocations: 61.61 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.00718, allocations: 7.984 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.007184, allocations: 0 / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.007196, allocations: 0 / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.965e-05/0.007246, allocations: 11.94 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.00725, allocations: 4 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.007266, allocations: 0 / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.007274, allocations: 11.98 kB / 380.9 MB, free: 15.58 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.421e-05/0.007338, allocations: 160.5 kB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.007355, allocations: 7.953 kB / 381 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.007461, allocations: 74.08 kB / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007462, allocations: 0 / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.007465, allocations: 0 / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007468, allocations: 0 / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.007686, allocations: 325.3 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.007688, allocations: 0 / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.007717, allocations: 11.98 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.007719, allocations: 0 / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.007726, allocations: 4 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.007727, allocations: 4 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.007727, allocations: 0 / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.587e-05/0.007823, allocations: 211.8 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.007832, allocations: 8.203 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.007843, allocations: 3.984 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.088e-05/0.007874, allocations: 8 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.007898, allocations: 0 / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.007901, allocations: 4 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.893e-05/0.00796, allocations: 155.1 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00796, allocations: 0 / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001511/0.008111, allocations: 16 kB / 381.8 MB, free: 14.53 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.001087/0.009198, allocations: 379.7 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.319e-05/0.009291, allocations: 27.67 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009293, allocations: 7.938 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.911e-05/0.009312, allocations: 15.69 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.009512, allocations: 31.16 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.0098, allocations: 178.5 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.548e-05/0.009836, allocations: 63.34 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.395e-05/0.00986, allocations: 7.984 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.009885, allocations: 16.5 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009885, allocations: 4 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Templates: time 0.002867/0.01275, allocations: 1.246 MB / 383.8 MB, free: 12.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/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.0529386261478066]