Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001442/0.001442, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001264/0.001264, allocations: 165 kB / 24.56 MB, free: 16 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 1.051/1.051, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.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.2841/0.2841, allocations: 34.25 MB / 295.7 MB, free: 0.707 MB / 266.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 378.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.843e-05, allocations: 6.312 kB / 378.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002471/0.002499, allocations: 1.634 MB / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008256/0.003325, allocations: 0.5297 MB / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/0.00339, allocations: 4 kB / 380.2 MB, free: 480 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.003641, allocations: 35.78 kB / 380.3 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.003939, allocations: 83.55 kB / 380.3 MB, free: 360 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.004194, allocations: 87.69 kB / 380.4 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.004344, allocations: 67.78 kB / 380.5 MB, free: 204 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.004449, allocations: 8 kB / 380.5 MB, free: 196 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.173e-05/0.004511, allocations: 31.91 kB / 380.5 MB, free: 164 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.004571, allocations: 15.91 kB / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.004587, allocations: 8 kB / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-05/0.00467, allocations: 31.94 kB / 380.6 MB, free: 108 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.004719, allocations: 15.92 kB / 380.6 MB, free: 92 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.004752, allocations: 15.92 kB / 380.6 MB, free: 76 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.004915, allocations: 71.69 kB / 380.7 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.004919, allocations: 0 / 380.7 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.004922, allocations: 3.984 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.00493, allocations: 0 / 380.7 MB, free: 0 / 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.0004537/0.005384, allocations: 420.1 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.005425, allocations: 8.031 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.005476, allocations: 12.89 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.005629, allocations: 148.8 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.005639, allocations: 384 / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.005659, allocations: 384 / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.005784, allocations: 58.7 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.005795, allocations: 3.938 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.005804, allocations: 4 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.005811, allocations: 0 / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.85e-05/0.005839, allocations: 7.984 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.006301, allocations: 283.7 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.006476, allocations: 43.03 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.006502, allocations: 19.67 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.006522, allocations: 0 / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.006553, allocations: 37.39 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.006555, allocations: 0 / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003636/0.006919, allocations: 97.47 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.006951, allocations: 51.41 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.007073, allocations: 220 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.007083, allocations: 25.7 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.00714, allocations: 150.8 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.007159, allocations: 15.84 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.007192, allocations: 27.36 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.007311, allocations: 0.4962 MB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.007331, allocations: 7.984 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.562e-05/0.007347, allocations: 8.062 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.323e-05/0.00739, allocations: 23.69 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007392, allocations: 0 / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.322e-05/0.007485, allocations: 65.58 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.007504, allocations: 6.031 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.007509, allocations: 0 / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.007526, allocations: 4 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.007589, allocations: 19.92 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.007594, allocations: 0 / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.007613, allocations: 0 / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.007618, allocations: 4.281 kB / 382.9 MB, free: 13.57 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 8.583e-05/0.007704, allocations: 156.5 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.007728, allocations: 19.91 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.007876, allocations: 74.05 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.007879, allocations: 0 / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.007884, allocations: 4 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007888, allocations: 0 / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.008164, allocations: 333.4 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.008167, allocations: 320 / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.008215, allocations: 15.92 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.008218, allocations: 0 / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.008225, allocations: 4 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.008227, allocations: 0 / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.00823, allocations: 4 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.008353, allocations: 207.8 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.008363, allocations: 7.953 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.008376, allocations: 0 / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.16e-05/0.008418, allocations: 0 / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.008452, allocations: 11.98 kB / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.008457, allocations: 0 / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.241e-05/0.008529, allocations: 162 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008529, allocations: 0 / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000167/0.008696, allocations: 19.94 kB / 383.9 MB, free: 12.49 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.0008809/0.009577, allocations: 377.8 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.009686, allocations: 31.67 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.009688, allocations: 0 / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.367e-05/0.009712, allocations: 15.69 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.009948, allocations: 23.86 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.01029, allocations: 190.3 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.875e-05/0.01032, allocations: 67.34 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.927e-05/0.01035, allocations: 8 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.01038, allocations: 12.5 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01039, allocations: 0 / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of Templates: time 0.003747/0.01413, allocations: 1.252 MB / 385.9 MB, free: 10.61 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.294265819247812]