Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001447/0.001447, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001785/0.001785, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.52/1.52, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3536/0.3536, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.333e-05, allocations: 2.312 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.004754/0.004788, allocations: 1.68 MB / 377 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.006641, allocations: 0.5607 MB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.006728, allocations: 0 / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.00714, allocations: 63.72 kB / 377.6 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005024/0.007642, allocations: 99.53 kB / 377.7 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.008393, allocations: 175.5 kB / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.008683, allocations: 99.67 kB / 378 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.00884, allocations: 12.22 kB / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.008968, allocations: 43.89 kB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.009123, allocations: 47.88 kB / 378.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.009148, allocations: 4 kB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.009315, allocations: 51.92 kB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.833e-05/0.009403, allocations: 23.92 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.009469, allocations: 23.91 kB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.009809, allocations: 119.5 kB / 378.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.009813, allocations: 0 / 378.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.009815, allocations: 0 / 378.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.009823, allocations: 0 / 378.3 MB, free: 1.945 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00082/0.01064, allocations: 341.6 kB / 378.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.0107, allocations: 16.02 kB / 378.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.118e-05/0.01078, allocations: 8.891 kB / 378.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.01108, allocations: 145.6 kB / 378.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.0111, allocations: 12.31 kB / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.01114, allocations: 4.375 kB / 378.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.01141, allocations: 70.16 kB / 378.9 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.01143, allocations: 192 / 378.9 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.01145, allocations: 8.125 kB / 378.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.01146, allocations: 0 / 378.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.0117, allocations: 47.95 kB / 378.9 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.01236, allocations: 260.4 kB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.01275, allocations: 58.48 kB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.01288, allocations: 28.97 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.01291, allocations: 0 / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.01295, allocations: 34.56 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.01296, allocations: 96 / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.002421/0.01538, allocations: 429.4 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.01545, allocations: 51.41 kB / 379.8 MB, free: 340 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.0158, allocations: 199.3 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.01583, allocations: 25.7 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.01625, allocations: 108.1 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.01631, allocations: 35.64 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.204e-05/0.01639, allocations: 21.72 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.01664, allocations: 330.8 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.01689, allocations: 63.89 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.01711, allocations: 51.95 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.01759, allocations: 128.8 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.01759, allocations: 4 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006004/0.01819, allocations: 173.8 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.01822, allocations: 5.875 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.01822, allocations: 4 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.01826, allocations: 3.984 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.01846, allocations: 23.98 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.01848, allocations: 3.938 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.01858, allocations: 11.98 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.0186, allocations: 0 / 380.9 MB, free: 15.11 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 (11): * Single equations (assignments): 11 * 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 0.0001975/0.0188, allocations: 137.8 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.01888, allocations: 19.91 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007064/0.01958, allocations: 183 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.01959, allocations: 4 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.0196, allocations: 0 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.01961, allocations: 3.984 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.0208, allocations: 447.6 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.0208, allocations: 3.938 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.02098, allocations: 27.92 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.02098, allocations: 3.984 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.021, allocations: 4 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.021, allocations: 3.938 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.02101, allocations: 4 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006835/0.02169, allocations: 273.2 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.02171, allocations: 7.953 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.02175, allocations: 8 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.02192, allocations: 15.86 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.02198, allocations: 15.97 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.022, allocations: 4 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002223/0.02222, allocations: 151.9 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02222, allocations: 0 / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005061/0.02273, allocations: 31.94 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.003203/0.02593, allocations: 494.6 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006069/0.02654, allocations: 127.8 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.02654, allocations: 0 / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.0268, allocations: 63.89 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/0.02744, allocations: 23.98 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.02848, allocations: 330.3 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.02866, allocations: 104.8 kB / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.02881, allocations: 32.44 kB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.02888, allocations: 20.5 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02888, allocations: 3.938 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of Templates: time 0.007489/0.03637, allocations: 1.658 MB / 385.1 MB, free: 11.06 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8759292719187215]