Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.001192/0.001192, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001144/0.001144, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.9922/0.9922, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2519/0.2519, allocations: 32.8 MB / 294.6 MB, free: 1.191 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.Test28,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.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.CombiTable1Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.481e-05, allocations: 2.312 kB / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003222/0.003247, allocations: 1.644 MB / 324.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.004249, allocations: 0.5375 MB / 325.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.004312, allocations: 4 kB / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003369/0.007682, allocations: 103.6 kB / 325.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.008038, allocations: 127.4 kB / 325.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.008333, allocations: 87.7 kB / 325.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.008525, allocations: 103.7 kB / 325.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.853e-05/0.008614, allocations: 11.98 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.008702, allocations: 47.88 kB / 325.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.008811, allocations: 63.86 kB / 326 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.008827, allocations: 4 kB / 326 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.634e-05/0.008924, allocations: 39.92 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.008972, allocations: 19.94 kB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.009004, allocations: 27.84 kB / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.009189, allocations: 95.59 kB / 326.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.009193, allocations: 0 / 326.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009194, allocations: 4 kB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.009197, allocations: 0 / 326.2 MB, free: 6.758 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.0003804/0.009578, allocations: 333.3 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.00961, allocations: 8.031 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.009646, allocations: 12.92 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.009795, allocations: 142.4 kB / 326.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.009807, allocations: 8.375 kB / 326.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.009828, allocations: 4.312 kB / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.009931, allocations: 62.92 kB / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.00994, allocations: 192 / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.009949, allocations: 8.125 kB / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.009955, allocations: 4 kB / 326.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.009978, allocations: 4 kB / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.01022, allocations: 183.6 kB / 326.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.061e-05/0.01028, allocations: 38.48 kB / 326.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.0103, allocations: 8.859 kB / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.01031, allocations: 0 / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00305/0.01336, allocations: 34.5 kB / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.01336, allocations: 0 / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005725/0.01394, allocations: 145.7 kB / 327.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.01397, allocations: 51.41 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.01414, allocations: 201.6 kB / 327.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.01415, allocations: 25.7 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.01419, allocations: 108 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.01422, allocations: 27.8 kB / 327.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.01426, allocations: 21.7 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.01436, allocations: 322.8 kB / 327.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.01438, allocations: 4 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.01439, allocations: 15.92 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.549e-05/0.01444, allocations: 28.83 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01444, allocations: 4 kB / 327.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.71e-05/0.01453, allocations: 57.61 kB / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.01454, allocations: 4 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01455, allocations: 4 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.01456, allocations: 0 / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.3e-05/0.01464, allocations: 19.92 kB / 328 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.01464, allocations: 0 / 328 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.01467, allocations: 4 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.01468, allocations: 4 kB / 328 MB, free: 4.734 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 6.747e-05/0.01475, allocations: 112.7 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.01478, allocations: 19.92 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.01492, allocations: 79.36 kB / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01492, allocations: 7.938 kB / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.01492, allocations: 0 / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.01493, allocations: 3.984 kB / 328.2 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.01524, allocations: 247.5 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01525, allocations: 0 / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.0153, allocations: 15.98 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01531, allocations: 4.031 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.01531, allocations: 4 kB / 328.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.01531, allocations: 0 / 328.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.01532, allocations: 4 kB / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.01544, allocations: 172.2 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.01546, allocations: 11.91 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.01547, allocations: 0 / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.559e-05/0.01554, allocations: 4 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.01556, allocations: 3.984 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.01557, allocations: 4 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.968e-05/0.01565, allocations: 68.22 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01565, allocations: 4 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.01589, allocations: 19.98 kB / 328.8 MB, free: 3.895 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.004708/0.0206, allocations: 0.5741 MB / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.02072, allocations: 36.72 kB / 329.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.02072, allocations: 0 / 329.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.02075, allocations: 20.86 kB / 329.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.02099, allocations: 30.97 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.02143, allocations: 238.6 kB / 329.7 MB, free: 3.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.154e-05/0.02148, allocations: 75.33 kB / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.159e-05/0.02153, allocations: 12.8 kB / 329.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.0216, allocations: 63.36 kB / 329.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.0216, allocations: 0 / 329.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of Templates: time 0.01016/0.03175, allocations: 1.495 MB / 331.3 MB, free: 1.617 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.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.9925482613034546]