Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.0009208/0.0009208, allocations: 84.31 kB / 22.21 MB, free: 2.285 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.0009523/0.0009523, allocations: 172.4 kB / 25.61 MB, free: 8.914 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.8939/0.8939, allocations: 177.2 MB / 206.1 MB, free: 4.5 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.1382/0.1382, allocations: 34.26 MB / 296.9 MB, free: 13.93 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.CombiTable1Dv.Test19,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.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.CombiTable1Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.221e-05, allocations: 10.45 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.00159/0.001602, allocations: 1.636 MB / 380.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008749/0.002477, allocations: 1.27 MB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.002532, allocations: 0 / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.002712, allocations: 31.72 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.002927, allocations: 83.56 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.003118, allocations: 119.6 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.931e-05/0.003217, allocations: 67.83 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.034e-05/0.003287, allocations: 11.86 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.003333, allocations: 35.89 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.633e-05/0.003409, allocations: 23.92 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.003421, allocations: 4 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.003525, allocations: 95.75 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.003558, allocations: 15.92 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.003576, allocations: 19.92 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.003721, allocations: 131.6 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.003722, allocations: 0 / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003722, allocations: 0 / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.003725, allocations: 0 / 382.8 MB, free: 19.86 MB / 314.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.0002555/0.003981, allocations: 432 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.57e-05/0.004007, allocations: 8.031 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.004036, allocations: 12.88 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.706e-05/0.004133, allocations: 136.5 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.004141, allocations: 384 / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.004155, allocations: 4.375 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.043e-05/0.004236, allocations: 108 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.004244, allocations: 192 / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.004251, allocations: 8.125 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004256, allocations: 3.984 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.809e-05/0.004274, allocations: 8 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.004442, allocations: 256.4 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.004544, allocations: 46.97 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.004556, allocations: 11.69 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.004568, allocations: 0 / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.004581, allocations: 41.33 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.004581, allocations: 4 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002198/0.004801, allocations: 85.64 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.761e-05/0.004819, allocations: 77.11 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.004885, allocations: 196.1 kB / 384.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.004891, allocations: 25.7 kB / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.507e-05/0.004916, allocations: 150.7 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.004931, allocations: 19.86 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.004953, allocations: 19.38 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.429e-05/0.004987, allocations: 0.4884 MB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.004997, allocations: 8 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.005018, allocations: 61.05 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/0.005043, allocations: 23.62 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.005044, allocations: 0 / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.453e-05/0.005098, allocations: 61.58 kB / 385.1 MB, free: 17.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.005107, allocations: 4 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.00511, allocations: 0 / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.005118, allocations: 0 / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.313e-05/0.005151, allocations: 11.98 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.005153, allocations: 4 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.005171, allocations: 0 / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.005175, allocations: 8.031 kB / 385.1 MB, free: 17.34 MB / 314.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 3.28e-05/0.005208, allocations: 152.6 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.005228, allocations: 19.83 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.0053, allocations: 66.38 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.005302, allocations: 4.062 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.005304, allocations: 4 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.005306, allocations: 0 / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.005459, allocations: 302 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.00546, allocations: 0 / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/0.005485, allocations: 8 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005486, allocations: 4 kB / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-06/0.00549, allocations: 0 / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.00549, allocations: 0 / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005491, allocations: 0 / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.706e-05/0.005548, allocations: 211.8 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.005556, allocations: 11.94 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.005566, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.26e-05/0.005598, allocations: 4 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.005617, allocations: 7.922 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.00562, allocations: 4 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.005649, allocations: 147.2 kB / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005649, allocations: 3.938 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.005825, allocations: 39.86 kB / 386.1 MB, free: 16.3 MB / 314.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.0008543/0.00668, allocations: 497.1 kB / 386.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.608e-05/0.006746, allocations: 27.69 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006747, allocations: 0 / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.638e-05/0.006763, allocations: 23.61 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.006943, allocations: 30.75 kB / 386.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/0.007135, allocations: 163.9 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.013e-05/0.007155, allocations: 63.2 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.102e-05/0.007186, allocations: 11.98 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.007234, allocations: 90.19 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of SimCode: time 4.7e-07/0.007234, allocations: 0 / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of Templates: time 0.002822/0.01006, allocations: 2.047 MB / 389 MB, free: 13.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.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.8974258019588888]