Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001843/0.001843, 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.00224/0.00224, allocations: 161.6 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.74/1.74, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3507/0.3507, allocations: 32.79 MB / 293.9 MB, free: 1.203 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.228e-05, allocations: 2.312 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003637/0.003669, allocations: 1.661 MB / 376.9 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.005002, allocations: 0.5647 MB / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-05/0.005085, allocations: 4 kB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007643/0.005849, allocations: 455 kB / 377.9 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006188/0.006468, allocations: 295.1 kB / 378.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008134/0.007281, allocations: 175.5 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000375/0.007656, allocations: 175.6 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.007777, allocations: 23.91 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.008025, allocations: 123.8 kB / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.008409, allocations: 247.6 kB / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.008434, allocations: 4 kB / 379 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.00856, allocations: 27.94 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.008703, allocations: 91.69 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.289e-05/0.008776, allocations: 35.75 kB / 379.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.00921, allocations: 255 kB / 379.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.009213, allocations: 0 / 379.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.009215, allocations: 0 / 379.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.009224, allocations: 0 / 379.4 MB, free: 0.8359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001054/0.01028, allocations: 0.5815 MB / 379.9 MB, free: 228 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.01033, allocations: 12.03 kB / 380 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.01045, allocations: 44.66 kB / 380 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.01087, allocations: 248.5 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.01088, allocations: 4.375 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.01091, allocations: 384 / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.01112, allocations: 66.17 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.01113, allocations: 192 / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.01115, allocations: 5.688 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.01115, allocations: 0 / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.01133, allocations: 43.95 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.01194, allocations: 340.4 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.0121, allocations: 46.5 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.591e-05/0.01219, allocations: 24.94 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.01222, allocations: 3.984 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.01225, allocations: 34.56 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.01225, allocations: 4 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001057/0.01331, allocations: 324.5 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.01336, allocations: 55.34 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.01443, allocations: 0.8691 MB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.01445, allocations: 29.7 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.01467, allocations: 216.1 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.01471, allocations: 19.8 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.01476, allocations: 21.72 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.01498, allocations: 358.8 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.01512, allocations: 39.97 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.01524, allocations: 35.97 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.01551, allocations: 100.7 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.01551, allocations: 0 / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003808/0.01589, allocations: 157.5 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.01591, allocations: 9.859 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01592, allocations: 3.938 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.01594, allocations: 0 / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.0161, allocations: 23.98 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.01611, allocations: 4.062 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.01619, allocations: 11.98 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.0162, allocations: 7.938 kB / 383.1 MB, free: 12.96 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 (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 0.0003027/0.0165, allocations: 209.8 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.01658, allocations: 51.7 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.01705, allocations: 181.4 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.01705, allocations: 4.281 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.01706, allocations: 4 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.01707, allocations: 3.984 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007428/0.01781, allocations: 454 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01781, allocations: 0 / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.01791, allocations: 27.92 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01791, allocations: 0 / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.01793, allocations: 7.984 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01793, allocations: 0 / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01793, allocations: 0 / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.01836, allocations: 267 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.01841, allocations: 35.66 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.01844, allocations: 8 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01855, allocations: 7.984 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.01859, allocations: 8 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.0186, allocations: 3.984 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008232/0.01942, allocations: 0.6589 MB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01942, allocations: 0 / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.0197, allocations: 27.94 kB / 385 MB, free: 10.95 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 (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.001954/0.02165, allocations: 424.2 kB / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.022, allocations: 99.84 kB / 385.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.022, allocations: 0 / 385.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.02214, allocations: 39.97 kB / 385.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.02258, allocations: 30.3 kB / 385.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.02424, allocations: 0.8539 MB / 386.4 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.02455, allocations: 228.1 kB / 386.7 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.588e-05/0.02463, allocations: 25.02 kB / 386.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.02468, allocations: 16.5 kB / 386.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02468, allocations: 3.938 kB / 386.7 MB, free: 9.383 MB / 362.7 MB Notification: Performance of Templates: time 0.00586/0.03054, allocations: 1.507 MB / 388.2 MB, free: 7.883 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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: 5.032809569966048]