Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.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.001127/0.001127, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001768/0.002895, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001198/0.001198, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002709, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9779/0.9779, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09686/1.075, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2505/0.2505, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02482/0.2753, allocations: 13.1 MB / 291.3 MB, free: 7.367 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.CombiTable2Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 292.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.21e-05, allocations: 2.312 kB / 292.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.003109/0.003131, allocations: 1.747 MB / 294.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.004955, allocations: 1.321 MB / 295.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.005011, allocations: 0 / 295.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.005152, allocations: 19.8 kB / 295.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.005444, allocations: 87.48 kB / 295.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.005787, allocations: 127.6 kB / 295.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.005941, allocations: 75.73 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.006029, allocations: 11.98 kB / 296 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.006157, allocations: 59.83 kB / 296.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.006277, allocations: 27.89 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.006295, allocations: 8 kB / 296.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.00653, allocations: 99.81 kB / 296.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.081e-05/0.006581, allocations: 11.94 kB / 296.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.006604, allocations: 11.94 kB / 296.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.006863, allocations: 131.6 kB / 296.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.841e-05/0.006881, allocations: 0 / 296.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.006882, allocations: 4 kB / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.0069, allocations: 0 / 296.4 MB, free: 2.523 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005078/0.007408, allocations: 329.1 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.007444, allocations: 8.031 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.007481, allocations: 4.938 kB / 296.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.007645, allocations: 125.7 kB / 296.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.007657, allocations: 4.375 kB / 296.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.007679, allocations: 8.359 kB / 296.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.007828, allocations: 102.3 kB / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.007839, allocations: 4.172 kB / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.007848, allocations: 8.125 kB / 297 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.007855, allocations: 4 kB / 297 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.503e-05/0.00789, allocations: 7.938 kB / 297 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.008221, allocations: 168.2 kB / 297.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.985e-05/0.008301, allocations: 26.67 kB / 297.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.00832, allocations: 12.84 kB / 297.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.008344, allocations: 3.938 kB / 297.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.008368, allocations: 38.5 kB / 297.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.883e-06/0.00837, allocations: 0 / 297.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003307/0.008701, allocations: 113.5 kB / 297.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.008725, allocations: 51.41 kB / 297.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.488e-05/0.008809, allocations: 136.4 kB / 297.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.008817, allocations: 25.7 kB / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.684e-05/0.008844, allocations: 96.05 kB / 297.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.008865, allocations: 27.75 kB / 297.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.008893, allocations: 21.7 kB / 297.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.152e-05/0.008955, allocations: 322.8 kB / 298 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.008968, allocations: 11.98 kB / 298 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.008998, allocations: 47.48 kB / 298.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.009028, allocations: 28.88 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.009029, allocations: 3.938 kB / 298.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.52e-05/0.009084, allocations: 61.59 kB / 298.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.009096, allocations: 4 kB / 298.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.0091, allocations: 0 / 298.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.009108, allocations: 0 / 298.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.843e-05/0.009187, allocations: 19.98 kB / 298.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.009189, allocations: 0 / 298.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.009217, allocations: 11.98 kB / 298.2 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.009221, allocations: 0 / 298.2 MB, free: 0.543 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 (7): * Single equations (assignments): 7 * 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.844e-05/0.00927, allocations: 116.7 kB / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.009286, allocations: 11.88 kB / 298.3 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.864e-05/0.009375, allocations: 66.44 kB / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.009378, allocations: 4 kB / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.009379, allocations: 0 / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.009382, allocations: 0 / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.009561, allocations: 222.7 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.009562, allocations: 0 / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.009604, allocations: 23.98 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.009613, allocations: 7.938 kB / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009615, allocations: 8 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-06/0.009619, allocations: 0 / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.009619, allocations: 0 / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.009621, allocations: 0 / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.772e-05/0.009709, allocations: 159.8 kB / 298.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.00972, allocations: 4 kB / 298.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.009756, allocations: 7.938 kB / 298.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.00978, allocations: 7.922 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.009783, allocations: 4 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.597e-05/0.009809, allocations: 30.56 kB / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009809, allocations: 4 kB / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.009979, allocations: 39.86 kB / 298.9 MB, free: 15.78 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 (7): * Single equations (assignments): 7 * 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.001521/0.0115, allocations: 0.692 MB / 299.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.01161, allocations: 32.83 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.01162, allocations: 0 / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.01165, allocations: 28.92 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.01183, allocations: 27.92 kB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.01225, allocations: 196 kB / 299.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.126e-05/0.01228, allocations: 63.34 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.241e-05/0.01232, allocations: 11.98 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.01238, allocations: 71.36 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01238, allocations: 0 / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of Templates: time 0.003345/0.01573, allocations: 2.16 MB / 302.2 MB, free: 12.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test32/Test32.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.9925629971548915]