Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001105/0.001105, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001499/0.002604, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001052/0.001052, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002359, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9468/0.9468, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08931/1.036, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02337/0.2773, allocations: 13.1 MB / 291.3 MB, free: 7.359 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 292.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.368e-05, allocations: 3.781 kB / 292.7 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001807/0.001821, allocations: 1.731 MB / 294.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006692/0.00249, allocations: 0.5569 MB / 294.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.002544, allocations: 0 / 294.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.002727, allocations: 99.55 kB / 295 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.002905, allocations: 111.6 kB / 295.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.003108, allocations: 99.56 kB / 295.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.00324, allocations: 99.75 kB / 295.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.739e-05/0.003318, allocations: 15.97 kB / 295.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.003409, allocations: 79.8 kB / 295.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/0.003489, allocations: 47.89 kB / 295.5 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.003502, allocations: 4 kB / 295.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.216e-05/0.003574, allocations: 51.91 kB / 295.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.003612, allocations: 19.92 kB / 295.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.003637, allocations: 19.94 kB / 295.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.00377, allocations: 99.56 kB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-05/0.003784, allocations: 0 / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.003784, allocations: 0 / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.003797, allocations: 7.922 kB / 295.7 MB, free: 3.219 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000369/0.004166, allocations: 353 kB / 296 MB, free: 2.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.004193, allocations: 8.625 kB / 296 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.00422, allocations: 12.94 kB / 296 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.004347, allocations: 149.5 kB / 296.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.004356, allocations: 12.31 kB / 296.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.004375, allocations: 4.375 kB / 296.2 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.862e-05/0.004463, allocations: 66.94 kB / 296.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.004473, allocations: 4.172 kB / 296.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.004482, allocations: 8.125 kB / 296.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.004486, allocations: 4 kB / 296.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.027e-05/0.004516, allocations: 16.86 kB / 296.3 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.004735, allocations: 194.9 kB / 296.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.765e-05/0.004793, allocations: 46.55 kB / 296.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.542e-05/0.004808, allocations: 12.86 kB / 296.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.00483, allocations: 3.938 kB / 296.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.004851, allocations: 38.56 kB / 296.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.004852, allocations: 4 kB / 296.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004621/0.005314, allocations: 201.9 kB / 296.8 MB, free: 2.004 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.00534, allocations: 55.39 kB / 296.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.005449, allocations: 193 kB / 297 MB, free: 1.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.005458, allocations: 25.7 kB / 297.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.00549, allocations: 104 kB / 297.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.005518, allocations: 47.58 kB / 297.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.005548, allocations: 29.7 kB / 297.2 MB, free: 1.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.097e-05/0.005619, allocations: 330.7 kB / 297.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.005633, allocations: 8 kB / 297.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.00565, allocations: 17.48 kB / 297.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.005692, allocations: 50.75 kB / 297.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.005693, allocations: 0 / 297.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.295e-05/0.005755, allocations: 65.67 kB / 297.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.005766, allocations: 8 kB / 297.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.005769, allocations: 0 / 297.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.08e-06/0.005774, allocations: 0 / 297.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.005846, allocations: 31.98 kB / 297.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.005848, allocations: 4.109 kB / 297.7 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.005866, allocations: 7.922 kB / 297.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.005871, allocations: 7.938 kB / 297.8 MB, free: 0.9766 MB / 282.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 (13): * Single equations (assignments): 13 * 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 5.383e-05/0.005925, allocations: 116.6 kB / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.005943, allocations: 15.98 kB / 297.9 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.006058, allocations: 87.12 kB / 298 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.006061, allocations: 3.984 kB / 298 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.006062, allocations: 0 / 298 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006065, allocations: 0 / 298 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.006302, allocations: 299.3 kB / 298.3 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006303, allocations: 0 / 298.3 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.006351, allocations: 27.98 kB / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-06/0.006361, allocations: 11.91 kB / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.006364, allocations: 8 kB / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.006368, allocations: 0 / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.00637, allocations: 3.938 kB / 298.3 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.006373, allocations: 4 kB / 298.3 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.683e-05/0.006469, allocations: 189.4 kB / 298.5 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.00648, allocations: 0 / 298.5 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.006514, allocations: 16.02 kB / 298.5 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.006538, allocations: 11.92 kB / 298.5 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.006541, allocations: 0 / 298.5 MB, free: 144 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.441e-05/0.006586, allocations: 61.61 kB / 298.6 MB, free: 80 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006586, allocations: 3.938 kB / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000134/0.00672, allocations: 20 kB / 298.6 MB, free: 56 kB / 282.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 (13): * Single equations (assignments): 13 * 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.001309/0.008029, allocations: 0.6246 MB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.563e-05/0.008114, allocations: 56.75 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.00812, allocations: 4 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.87e-05/0.008149, allocations: 36.53 kB / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.008303, allocations: 23.98 kB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.008726, allocations: 270.6 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.808e-05/0.008764, allocations: 71.33 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.839e-05/0.008803, allocations: 20.47 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.008855, allocations: 59.38 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.008856, allocations: 3.938 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of Templates: time 0.00286/0.01172, allocations: 1.727 MB / 301.5 MB, free: 13.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.8079508151859045]