Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.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.0009265/0.0009265, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.00141/0.00141, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9026/0.9026, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1241/0.1241, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.326e-05, allocations: 6.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002976/0.002999, allocations: 1.593 MB / 300.7 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006589/0.003658, allocations: 315.4 kB / 301 MB, free: 288 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.003724, allocations: 0 / 301 MB, free: 288 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.00404, allocations: 79.7 kB / 301.1 MB, free: 208 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.00427, allocations: 71.67 kB / 301.1 MB, free: 136 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.004522, allocations: 59.86 kB / 301.2 MB, free: 76 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.004694, allocations: 75.75 kB / 301.3 MB, free: 0 / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1394/0.1441, allocations: 8.844 kB / 301.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1442, allocations: 36.33 kB / 301.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1444, allocations: 42.23 kB / 301.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1444, allocations: 2.188 kB / 301.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1445, allocations: 36.41 kB / 301.4 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.1445, allocations: 20.58 kB / 301.4 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.1446, allocations: 13.17 kB / 301.4 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1447, allocations: 74 kB / 301.5 MB, free: 19.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1447, allocations: 0 / 301.5 MB, free: 19.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1447, allocations: 1.031 kB / 301.5 MB, free: 19.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1447, allocations: 5.094 kB / 301.5 MB, free: 19.28 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003351/0.1451, allocations: 303 kB / 301.8 MB, free: 19.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1451, allocations: 9.906 kB / 301.8 MB, free: 19.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.1451, allocations: 7.359 kB / 301.8 MB, free: 19.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.1453, allocations: 137.2 kB / 301.9 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.1453, allocations: 5.312 kB / 301.9 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1453, allocations: 2.625 kB / 301.9 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.701e-05/0.1454, allocations: 50.33 kB / 302 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1454, allocations: 192 / 302 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1454, allocations: 7.75 kB / 302 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1454, allocations: 3.938 kB / 302 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.045e-05/0.1454, allocations: 6.875 kB / 302 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.1456, allocations: 160.8 kB / 302.2 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.1457, allocations: 27.77 kB / 302.2 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.1457, allocations: 12.31 kB / 302.2 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.1458, allocations: 1.188 kB / 302.2 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.1458, allocations: 35.53 kB / 302.2 MB, free: 18.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1458, allocations: 1.125 kB / 302.2 MB, free: 18.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002507/0.146, allocations: 86.38 kB / 302.3 MB, free: 18.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.146, allocations: 53 kB / 302.4 MB, free: 18.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.1461, allocations: 176 kB / 302.6 MB, free: 18.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-06/0.1461, allocations: 31.48 kB / 302.6 MB, free: 18.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.01e-05/0.1462, allocations: 90.14 kB / 302.7 MB, free: 18.28 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.1462, allocations: 22.19 kB / 302.7 MB, free: 18.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.1462, allocations: 20.47 kB / 302.7 MB, free: 18.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.794e-05/0.1463, allocations: 322.7 kB / 303 MB, free: 17.94 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.1463, allocations: 4.406 kB / 303 MB, free: 17.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/0.1463, allocations: 6.047 kB / 303 MB, free: 17.94 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.1463, allocations: 16 kB / 303.1 MB, free: 17.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1463, allocations: 1.75 kB / 303.1 MB, free: 17.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.812e-05/0.1464, allocations: 53.98 kB / 303.1 MB, free: 17.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1464, allocations: 10.09 kB / 303.1 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1464, allocations: 1 kB / 303.1 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1464, allocations: 0.5625 kB / 303.1 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.881e-05/0.1464, allocations: 11.62 kB / 303.1 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.1464, allocations: 1.828 kB / 303.1 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.1464, allocations: 4.578 kB / 303.1 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1465, allocations: 1.156 kB / 303.1 MB, free: 17.89 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 (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 4.046e-05/0.1465, allocations: 112.9 kB / 303.3 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.1465, allocations: 12.34 kB / 303.3 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.024e-05/0.1466, allocations: 66.77 kB / 303.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1466, allocations: 1.094 kB / 303.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1466, allocations: 3.562 kB / 303.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1466, allocations: 1.125 kB / 303.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1468, allocations: 205.9 kB / 303.5 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1468, allocations: 0 / 303.5 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.1468, allocations: 20.61 kB / 303.6 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1468, allocations: 0 / 303.6 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.1468, allocations: 2.047 kB / 303.6 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1468, allocations: 0 / 303.6 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1468, allocations: 0 / 303.6 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.04e-05/0.1468, allocations: 146.2 kB / 303.7 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-06/0.1469, allocations: 11.56 kB / 303.7 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.1469, allocations: 5.75 kB / 303.7 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.931e-05/0.1469, allocations: 2.266 kB / 303.7 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.1469, allocations: 5.25 kB / 303.7 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.1469, allocations: 3.938 kB / 303.7 MB, free: 17.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.366e-05/0.147, allocations: 50.02 kB / 303.8 MB, free: 17.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.147, allocations: 5.094 kB / 303.8 MB, free: 17.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001343/0.1471, allocations: 14.62 kB / 303.8 MB, free: 17.4 MB / 282.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.001009/0.1481, allocations: 0.5019 MB / 304.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.527e-05/0.1482, allocations: 24.12 kB / 304.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.1482, allocations: 1.344 kB / 304.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.865e-05/0.1482, allocations: 17.78 kB / 304.3 MB, free: 17.13 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.1484, allocations: 14.61 kB / 304.4 MB, free: 17.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.1487, allocations: 200.2 kB / 304.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.372e-05/0.1487, allocations: 65.62 kB / 304.6 MB, free: 16.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.955e-05/0.1487, allocations: 9.781 kB / 304.6 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.1488, allocations: 60.64 kB / 304.7 MB, free: 16.85 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1488, allocations: 0 / 304.7 MB, free: 16.85 MB / 282.7 MB Notification: Performance of Templates: time 0.003278/0.152, allocations: 1.234 MB / 305.9 MB, free: 16.7 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.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.029664132744074]