Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.0008653/0.0008653, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001056/0.001056, allocations: 172.7 kB / 24.91 MB, free: 8.758 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.9325/0.9325, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2534/0.2534, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.368e-05, allocations: 2.312 kB / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.001856/0.00187, allocations: 1.629 MB / 324.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.002996, allocations: 1.297 MB / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.003037, allocations: 0 / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.003189, allocations: 23.78 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.003405, allocations: 87.5 kB / 326.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.003601, allocations: 115.7 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.003709, allocations: 75.7 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.236e-05/0.003771, allocations: 11.92 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/0.003821, allocations: 35.91 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.0039, allocations: 27.91 kB / 326.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.003912, allocations: 4 kB / 326.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.004035, allocations: 83.88 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.004068, allocations: 11.94 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.004092, allocations: 27.91 kB / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.004304, allocations: 127.6 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.004306, allocations: 8 kB / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004307, allocations: 0 / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.415e-06/0.004309, allocations: 0 / 326.8 MB, free: 6.109 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002551/0.004564, allocations: 298.1 kB / 327.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.32e-05/0.004588, allocations: 12.03 kB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.00461, allocations: 8.922 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.896e-05/0.004709, allocations: 132 kB / 327.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-06/0.004715, allocations: 4.375 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.00473, allocations: 4.312 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.377e-05/0.004814, allocations: 98.36 kB / 327.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.004819, allocations: 4.188 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.004825, allocations: 4.125 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-06/0.004829, allocations: 0 / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.004845, allocations: 4 kB / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.005029, allocations: 171.1 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.00514, allocations: 37.33 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.289e-05/0.005153, allocations: 8.859 kB / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.005166, allocations: 4 kB / 327.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.005184, allocations: 30.56 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.005185, allocations: 4 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002188/0.005404, allocations: 89.55 kB / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.00544, allocations: 77.11 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.485e-05/0.005525, allocations: 146.7 kB / 327.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.005533, allocations: 25.7 kB / 327.9 MB, free: 4.824 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.005564, allocations: 96.06 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.00558, allocations: 19.89 kB / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.005603, allocations: 13.72 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.675e-05/0.00567, allocations: 318.8 kB / 328.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.005679, allocations: 4 kB / 328.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.005707, allocations: 55.34 kB / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.446e-05/0.005802, allocations: 23.67 kB / 328.4 MB, free: 4.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.005802, allocations: 0 / 328.4 MB, free: 4.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.525e-05/0.005848, allocations: 49.88 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.005856, allocations: 4 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.00586, allocations: 4 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.00587, allocations: 0 / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.16e-05/0.005901, allocations: 11.94 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.005905, allocations: 4 kB / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.005922, allocations: 3.984 kB / 328.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.005926, allocations: 3.984 kB / 328.5 MB, free: 4.184 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 (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.959e-05/0.005976, allocations: 128.6 kB / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.005991, allocations: 7.938 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.072e-05/0.006062, allocations: 54.14 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.006063, allocations: 0 / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.006064, allocations: 4 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.006067, allocations: 0 / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.006229, allocations: 218.8 kB / 328.9 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00623, allocations: 3.938 kB / 328.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.006253, allocations: 11.98 kB / 328.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.006255, allocations: 4 kB / 328.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-06/0.006259, allocations: 0 / 328.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.00626, allocations: 4 kB / 328.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006261, allocations: 0 / 328.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.854e-05/0.006329, allocations: 147.5 kB / 329.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.006337, allocations: 7.891 kB / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.006353, allocations: 4 kB / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.023e-05/0.006384, allocations: 192 / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.006402, allocations: 7.984 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.006405, allocations: 4 kB / 329.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.87e-05/0.006434, allocations: 37.84 kB / 329.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006434, allocations: 4 kB / 329.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001496/0.006584, allocations: 39.86 kB / 329.2 MB, free: 3.449 MB / 298.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.001163/0.007746, allocations: 0.6142 MB / 329.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.613e-05/0.007812, allocations: 28.84 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.007815, allocations: 0 / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.007831, allocations: 16.8 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.007956, allocations: 23.86 kB / 329.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.008184, allocations: 170.5 kB / 330 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.001e-05/0.008214, allocations: 63.34 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.167e-05/0.008245, allocations: 12.23 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.008302, allocations: 67.34 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008302, allocations: 0 / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of Templates: time 0.003052/0.01135, allocations: 2.01 MB / 332.2 MB, free: 0.7305 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.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.9400003417395055]