Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.001293/0.001293, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.0009783/0.0009783, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.894/0.894, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1481/0.1481, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.29e-05, allocations: 8.219 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.002267/0.0023, allocations: 1.607 MB / 349.3 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005295/0.00283, allocations: 307.4 kB / 349.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.002881, allocations: 4 kB / 349.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.003291, allocations: 447.1 kB / 350 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.003584, allocations: 259.4 kB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.003809, allocations: 103.7 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.003993, allocations: 163.6 kB / 350.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.004089, allocations: 8 kB / 350.6 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.43e-05/0.004183, allocations: 115.8 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.004341, allocations: 239.6 kB / 350.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.00436, allocations: 4 kB / 350.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.068e-05/0.004431, allocations: 23.92 kB / 350.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.004515, allocations: 83.72 kB / 351 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.004548, allocations: 35.72 kB / 351 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.004737, allocations: 183.2 kB / 351.2 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.004742, allocations: 0 / 351.2 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.004743, allocations: 0 / 351.2 MB, free: 5.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.004748, allocations: 4 kB / 351.2 MB, free: 5.871 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005017/0.00525, allocations: 0.6777 MB / 351.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.005291, allocations: 11.97 kB / 351.9 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.005347, allocations: 48.64 kB / 352 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.00551, allocations: 244.9 kB / 352.2 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.00552, allocations: 4.359 kB / 352.2 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.005531, allocations: 4.375 kB / 352.2 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.005642, allocations: 58.89 kB / 352.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.00565, allocations: 4.172 kB / 352.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.00566, allocations: 8.125 kB / 352.3 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.005667, allocations: 4 kB / 352.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.005691, allocations: 4 kB / 352.3 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.006026, allocations: 407.8 kB / 352.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.006092, allocations: 39 kB / 352.7 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.006113, allocations: 11.77 kB / 352.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.006136, allocations: 7.938 kB / 352.7 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.006149, allocations: 33.39 kB / 352.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.245e-06/0.006152, allocations: 0 / 352.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001676/0.006319, allocations: 85.41 kB / 352.9 MB, free: 4.098 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.006348, allocations: 55.41 kB / 352.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.006724, allocations: 0.6238 MB / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.006731, allocations: 25.7 kB / 353.6 MB, free: 3.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/0.00683, allocations: 282.8 kB / 353.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.006848, allocations: 7.953 kB / 353.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.006878, allocations: 27.31 kB / 353.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.006965, allocations: 0.5508 MB / 354.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.006983, allocations: 8 kB / 354.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.006995, allocations: 0 / 354.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/0.007027, allocations: 19.69 kB / 354.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.00703, allocations: 0 / 354.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.153e-05/0.007111, allocations: 93.34 kB / 354.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.007125, allocations: 4 kB / 354.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.00713, allocations: 0 / 354.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.007148, allocations: 0 / 354.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.007227, allocations: 15.92 kB / 354.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.007234, allocations: 0 / 354.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.007259, allocations: 0 / 354.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.007265, allocations: 4 kB / 354.6 MB, free: 2.32 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 (3): * Single equations (assignments): 3 * 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 5.957e-05/0.007324, allocations: 156.5 kB / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.007355, allocations: 47.66 kB / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.007461, allocations: 89.38 kB / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.007463, allocations: 0 / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.007466, allocations: 0 / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007469, allocations: 48 / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.007662, allocations: 276.5 kB / 355.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.007664, allocations: 4 kB / 355.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.007696, allocations: 7.984 kB / 355.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007698, allocations: 3.938 kB / 355.1 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.007705, allocations: 0 / 355.1 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.007707, allocations: 3.938 kB / 355.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.007709, allocations: 4 kB / 355.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.071e-05/0.0078, allocations: 231.7 kB / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.00782, allocations: 35.72 kB / 355.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.007836, allocations: 3.938 kB / 355.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.007872, allocations: 4 kB / 355.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.007909, allocations: 3.984 kB / 355.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.007913, allocations: 4 kB / 355.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000186/0.008099, allocations: 418.8 kB / 355.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008099, allocations: 0 / 355.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.008267, allocations: 23.98 kB / 355.9 MB, free: 0.957 MB / 282.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 (3): * Single equations (assignments): 3 * 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.0006878/0.008954, allocations: 332.3 kB / 356.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.322e-05/0.009048, allocations: 23.61 kB / 356.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.00905, allocations: 0 / 356.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.009067, allocations: 15.69 kB / 356.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.009342, allocations: 25.91 kB / 356.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.009946, allocations: 0.5626 MB / 356.8 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.947e-05/0.01004, allocations: 115.2 kB / 356.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.468e-05/0.01007, allocations: 7.984 kB / 356.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.0101, allocations: 16.5 kB / 356.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of SimCode: time 1.433e-06/0.0101, allocations: 3.938 kB / 357 MB, free: 15.89 MB / 298.7 MB Notification: Performance of Templates: time 0.00442/0.01452, allocations: 1.257 MB / 358.2 MB, free: 14.64 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.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.1874669939279556]