Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001061/0.001061, 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.001044/0.001044, allocations: 161 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 0.9366/0.9366, allocations: 177.1 MB / 205 MB, free: 5.59 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.2896/0.2896, allocations: 34.26 MB / 295.7 MB, free: 0.7656 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.043e-05, allocations: 5.688 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002408/0.002438, allocations: 1.696 MB / 379.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007375/0.003176, allocations: 0.5491 MB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.003234, allocations: 0 / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.003695, allocations: 451.1 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.004102, allocations: 295.2 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.004398, allocations: 131.5 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.004609, allocations: 171.6 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.004707, allocations: 11.98 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.004827, allocations: 123.7 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.005017, allocations: 239.6 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.005035, allocations: 4 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.22e-05/0.005117, allocations: 39.92 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.44e-05/0.005212, allocations: 79.72 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.005249, allocations: 35.73 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.005477, allocations: 195.2 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005479, allocations: 0 / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005481, allocations: 0 / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.005487, allocations: 7.938 kB / 382 MB, free: 14.62 MB / 362.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.0005536/0.006041, allocations: 0.6971 MB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.006077, allocations: 8.031 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.006142, allocations: 44.66 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.006328, allocations: 244.9 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.006337, allocations: 384 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.006362, allocations: 8.375 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.006476, allocations: 58.88 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.006484, allocations: 192 / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.006495, allocations: 8.125 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.006502, allocations: 8 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.151e-05/0.006533, allocations: 11.97 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.006927, allocations: 423.6 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.007096, allocations: 46.92 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.007119, allocations: 11.69 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.007139, allocations: 4.094 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.00716, allocations: 41.38 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.007161, allocations: 4 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003722/0.007533, allocations: 176.8 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.007562, allocations: 55.41 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.007971, allocations: 0.6316 MB / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.007984, allocations: 25.7 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.008127, allocations: 286.8 kB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.008147, allocations: 15.84 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.008181, allocations: 23.38 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.00834, allocations: 0.5547 MB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.008361, allocations: 4 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.397e-05/0.008375, allocations: 4 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.344e-05/0.008418, allocations: 35.73 kB / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.00842, allocations: 0 / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001021/0.008522, allocations: 101.4 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.008535, allocations: 6.031 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.00854, allocations: 3.984 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.008556, allocations: 0 / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.528e-05/0.008601, allocations: 12 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.008606, allocations: 0 / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.00863, allocations: 0 / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.008637, allocations: 4 kB / 385.6 MB, free: 10.88 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.095e-05/0.008718, allocations: 168.4 kB / 385.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.008754, allocations: 43.72 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.008896, allocations: 101.2 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.0089, allocations: 4 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.008904, allocations: 0 / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.008906, allocations: 0 / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.009247, allocations: 469.3 kB / 386.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.009248, allocations: 0 / 386.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.009283, allocations: 11.98 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.009286, allocations: 0 / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.009292, allocations: 4 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.009294, allocations: 0 / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009295, allocations: 4.188 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.009427, allocations: 247.6 kB / 386.6 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.00945, allocations: 31.72 kB / 386.6 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.009466, allocations: 4 kB / 386.6 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.009505, allocations: 7.922 kB / 386.6 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.009537, allocations: 4 kB / 386.6 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.00954, allocations: 0 / 386.6 MB, free: 9.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002534/0.009794, allocations: 430.8 kB / 387.1 MB, free: 9.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009794, allocations: 0 / 387.1 MB, free: 9.305 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001814/0.009975, allocations: 23.94 kB / 387.1 MB, free: 9.281 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.0007898/0.01077, allocations: 393.3 kB / 387.5 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.01087, allocations: 31.67 kB / 387.5 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01087, allocations: 0 / 387.5 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.0109, allocations: 23.62 kB / 387.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.01116, allocations: 29.89 kB / 387.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000618/0.01177, allocations: 0.5744 MB / 388.1 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.136e-05/0.01185, allocations: 115.3 kB / 388.2 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.12e-05/0.01188, allocations: 11.97 kB / 388.3 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.01191, allocations: 16.5 kB / 388.3 MB, free: 8.176 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01191, allocations: 0 / 388.3 MB, free: 8.176 MB / 362.7 MB Notification: Performance of Templates: time 0.003902/0.01581, allocations: 1.367 MB / 389.6 MB, free: 6.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.320002792868763]