Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001349/0.001349, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00149/0.00149, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2645/0.2645, allocations: 32.8 MB / 294.6 MB, free: 1.242 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.Test16,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.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.448e-05, allocations: 3.188 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002406/0.00243, allocations: 1.654 MB / 324.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007339/0.003164, allocations: 0.5491 MB / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.003207, allocations: 0 / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.003435, allocations: 79.64 kB / 325.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.003694, allocations: 99.59 kB / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.00393, allocations: 123.5 kB / 325.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.004052, allocations: 79.83 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.195e-05/0.004114, allocations: 19.97 kB / 325.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.004174, allocations: 39.91 kB / 325.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.004251, allocations: 47.88 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.004263, allocations: 4 kB / 325.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.567e-05/0.004328, allocations: 43.92 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.00437, allocations: 27.91 kB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.004393, allocations: 24.48 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.004516, allocations: 87.61 kB / 326.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.004519, allocations: 8 kB / 326.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00452, allocations: 0 / 326.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.455e-06/0.004522, allocations: 0 / 326.1 MB, free: 6.809 MB / 298.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.0003031/0.004826, allocations: 309.4 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.004853, allocations: 12.03 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.00488, allocations: 8.938 kB / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.004995, allocations: 151.4 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.005002, allocations: 384 / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.005018, allocations: 8.375 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.633e-05/0.005105, allocations: 66.86 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.005113, allocations: 192 / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.00512, allocations: 4.125 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.005126, allocations: 4 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.005148, allocations: 7.984 kB / 326.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.005342, allocations: 175 kB / 326.8 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.369e-05/0.005386, allocations: 29.41 kB / 326.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.0054, allocations: 8.953 kB / 326.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.005413, allocations: 3.984 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.005431, allocations: 42.5 kB / 326.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.005432, allocations: 4 kB / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003595/0.005791, allocations: 149.8 kB / 327.1 MB, free: 5.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.005815, allocations: 51.41 kB / 327.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.431e-05/0.005909, allocations: 176.8 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.005918, allocations: 25.7 kB / 327.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.005949, allocations: 104.8 kB / 327.4 MB, free: 5.355 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.00597, allocations: 31.73 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.005994, allocations: 25.7 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.006068, allocations: 322.8 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.006079, allocations: 4 kB / 327.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.006092, allocations: 11.98 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.006124, allocations: 27.66 kB / 327.8 MB, free: 4.922 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.006124, allocations: 0 / 327.8 MB, free: 4.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.841e-05/0.006183, allocations: 61.56 kB / 327.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.006192, allocations: 7.984 kB / 327.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.006195, allocations: 0 / 327.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.006205, allocations: 0 / 327.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.767e-05/0.006263, allocations: 12 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.006266, allocations: 8 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.006284, allocations: 7.984 kB / 327.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.00629, allocations: 4 kB / 327.9 MB, free: 4.816 MB / 298.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 5.211e-05/0.006342, allocations: 108.7 kB / 328 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.00636, allocations: 15.88 kB / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.94e-05/0.00646, allocations: 83.36 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.006461, allocations: 0 / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.006462, allocations: 0 / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006465, allocations: 0 / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.006696, allocations: 263.4 kB / 328.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.006699, allocations: 4 kB / 328.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.006729, allocations: 12 kB / 328.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006731, allocations: 0 / 328.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.006736, allocations: 0 / 328.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.006739, allocations: 3.984 kB / 328.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.006741, allocations: 4 kB / 328.4 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.968e-05/0.006841, allocations: 168.2 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.006851, allocations: 11.91 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.00686, allocations: 0 / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.077e-05/0.006891, allocations: 8.031 kB / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.006913, allocations: 7.984 kB / 328.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.006917, allocations: 4 kB / 328.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.998e-05/0.006957, allocations: 55.64 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006957, allocations: 0 / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001306/0.007088, allocations: 16 kB / 328.7 MB, free: 3.996 MB / 298.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.001184/0.008271, allocations: 0.5631 MB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.456e-05/0.008346, allocations: 36.72 kB / 329.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.008349, allocations: 4 kB / 329.3 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.823e-05/0.008377, allocations: 32.77 kB / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.008509, allocations: 16.3 kB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.008772, allocations: 227.7 kB / 329.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.656e-05/0.008809, allocations: 75.27 kB / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.881e-05/0.008838, allocations: 12.72 kB / 329.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.008886, allocations: 63.36 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008886, allocations: 0 / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of Templates: time 0.002677/0.01156, allocations: 1.526 MB / 331.2 MB, free: 1.711 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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.0665657250210643]