Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.0009317/0.0009317, 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.001095/0.001095, allocations: 168.7 kB / 24.91 MB, free: 8.762 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.9365/0.9365, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.3094/0.3094, allocations: 32.8 MB / 294.6 MB, free: 1.188 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.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.786e-05, allocations: 10.97 kB / 323.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003911/0.003939, allocations: 1.64 MB / 324.9 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.005058, allocations: 0.5257 MB / 325.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.493e-05/0.005133, allocations: 7.938 kB / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.005739, allocations: 455 kB / 325.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006812/0.00642, allocations: 287.2 kB / 326.1 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.006815, allocations: 131.6 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.007095, allocations: 159.7 kB / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.007195, allocations: 16.73 kB / 326.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.007393, allocations: 115.8 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.007641, allocations: 199.6 kB / 326.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.007661, allocations: 0 / 326.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.007748, allocations: 23.94 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.007862, allocations: 83.72 kB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.00791, allocations: 43.72 kB / 326.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.00819, allocations: 175.2 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.008195, allocations: 0 / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.008196, allocations: 0 / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.008203, allocations: 0 / 327.1 MB, free: 5.824 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.0006218/0.008825, allocations: 0.55 MB / 327.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.008864, allocations: 12.02 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.008923, allocations: 20.92 kB / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.009213, allocations: 242 kB / 327.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.009225, allocations: 4.375 kB / 327.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.009235, allocations: 4.375 kB / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.91e-05/0.009334, allocations: 50.95 kB / 327.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.009341, allocations: 4.188 kB / 327.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.00935, allocations: 7.938 kB / 328 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.009355, allocations: 0 / 328 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.479e-05/0.009369, allocations: 7.984 kB / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.009566, allocations: 164.2 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.076e-05/0.009607, allocations: 18.58 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.00962, allocations: 8.922 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.009638, allocations: 0 / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.00966, allocations: 38.48 kB / 328.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.009661, allocations: 0 / 328.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.009787, allocations: 57.61 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.00982, allocations: 51.41 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.01019, allocations: 0.5244 MB / 328.8 MB, free: 3.945 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.0102, allocations: 33.83 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.01026, allocations: 137.3 kB / 329 MB, free: 3.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.01028, allocations: 7.938 kB / 329 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.01031, allocations: 17.72 kB / 329 MB, free: 3.734 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.01041, allocations: 354.7 kB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.01042, allocations: 4 kB / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-06/0.01043, allocations: 0 / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.284e-05/0.01045, allocations: 8.859 kB / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01045, allocations: 0 / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.221e-05/0.01051, allocations: 65.61 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01053, allocations: 8 kB / 329.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01053, allocations: 3.938 kB / 329.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.01055, allocations: 7.969 kB / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.01061, allocations: 4 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.01061, allocations: 0 / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.01063, allocations: 0 / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.01064, allocations: 0 / 329.5 MB, free: 3.27 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 (2): * Single equations (assignments): 2 * 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.7e-05/0.01071, allocations: 112.7 kB / 329.6 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.01073, allocations: 23.91 kB / 329.6 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.758e-05/0.01083, allocations: 84.7 kB / 329.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01083, allocations: 3.984 kB / 329.7 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01083, allocations: 0 / 329.7 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01083, allocations: 0 / 329.7 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.01096, allocations: 137.7 kB / 329.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01096, allocations: 0 / 329.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.01098, allocations: 7.984 kB / 329.8 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.01098, allocations: 0 / 329.8 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.01099, allocations: 0 / 329.8 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01099, allocations: 3.938 kB / 329.8 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.01099, allocations: 0 / 329.8 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.0111, allocations: 151.6 kB / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.01113, allocations: 39.7 kB / 330 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.01114, allocations: 3.984 kB / 330 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.845e-05/0.01119, allocations: 11.94 kB / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-06/0.0112, allocations: 0 / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.0112, allocations: 3.938 kB / 330 MB, free: 2.645 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.01138, allocations: 283.2 kB / 330.3 MB, free: 2.367 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01138, allocations: 0 / 330.3 MB, free: 2.367 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001376/0.01151, allocations: 19.95 kB / 330.3 MB, free: 2.348 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 (2): * Single equations (assignments): 2 * 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.0009193/0.01243, allocations: 429 kB / 330.7 MB, free: 2.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.481e-05/0.01249, allocations: 12.86 kB / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.0125, allocations: 4 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.667e-06/0.0125, allocations: 20.84 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.01268, allocations: 21.95 kB / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.01327, allocations: 0.5696 MB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.324e-05/0.01336, allocations: 111.3 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.275e-05/0.01339, allocations: 4 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.01345, allocations: 59.36 kB / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01345, allocations: 0 / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of Templates: time 0.004296/0.01775, allocations: 1.226 MB / 332.8 MB, free: 88 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.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.987074505072087]