Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.0009609/0.0009609, allocations: 79.75 kB / 21.19 MB, free: 3.375 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.00104/0.00104, allocations: 161 kB / 24.56 MB, free: 8 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.9461/0.9461, allocations: 177.1 MB / 205 MB, free: 5.582 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.2556/0.2556, allocations: 34.27 MB / 295.7 MB, free: 0.75 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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.18e-05, allocations: 2.312 kB / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.00377/0.003802, allocations: 1.661 MB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.004917, allocations: 0.5569 MB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.004991, allocations: 0 / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006861/0.005677, allocations: 451.1 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006134/0.006291, allocations: 299.1 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.006813, allocations: 175.5 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.00717, allocations: 179.6 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.007298, allocations: 7.984 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.007529, allocations: 119.7 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.007855, allocations: 239.6 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.007882, allocations: 4 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.007987, allocations: 31.92 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.00811, allocations: 83.72 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.008168, allocations: 43.72 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.008507, allocations: 191.1 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.008513, allocations: 0 / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.008515, allocations: 0 / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.008523, allocations: 0 / 382.1 MB, free: 14.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009353/0.009458, allocations: 0.6893 MB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.009507, allocations: 12.03 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.666e-05/0.009604, allocations: 40.66 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.009901, allocations: 252.9 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.009916, allocations: 384 / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.009928, allocations: 384 / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.0101, allocations: 66.88 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.01011, allocations: 192 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.01012, allocations: 4.125 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.01013, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.944e-05/0.01016, allocations: 8 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.01061, allocations: 427.6 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.904e-05/0.0107, allocations: 47.05 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.01072, allocations: 11.62 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.01074, allocations: 7.938 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.01076, allocations: 33.39 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.01076, allocations: 3.938 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001981/0.01096, allocations: 89.5 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.01099, allocations: 51.41 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.01141, allocations: 0.6355 MB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.01142, allocations: 25.7 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.01157, allocations: 282.8 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.01159, allocations: 7.906 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.01163, allocations: 31.36 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.0118, allocations: 0.5508 MB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.01182, allocations: 4 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.333e-05/0.01183, allocations: 4 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.01187, allocations: 19.95 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01188, allocations: 0 / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001009/0.01198, allocations: 97.33 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.01199, allocations: 8 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.012, allocations: 0 / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01201, allocations: 0 / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.01209, allocations: 15.94 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.0121, allocations: 0 / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.01212, allocations: 3.984 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.01213, allocations: 4 kB / 385.5 MB, free: 10.99 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 (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 7.76e-05/0.01221, allocations: 152.6 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.01224, allocations: 47.66 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.01238, allocations: 81.14 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01238, allocations: 4 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01238, allocations: 0 / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01239, allocations: 0 / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.0126, allocations: 284.5 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.0126, allocations: 0 / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.01263, allocations: 11.98 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.01263, allocations: 3.938 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.01264, allocations: 0 / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01264, allocations: 3.938 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01265, allocations: 0 / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.01277, allocations: 231.7 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.0128, allocations: 39.64 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.01282, allocations: 11.88 kB / 386.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.076e-05/0.01286, allocations: 0 / 386.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.01287, allocations: 4 kB / 386.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.01288, allocations: 4 kB / 386.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002423/0.01312, allocations: 430.8 kB / 386.7 MB, free: 9.637 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01312, allocations: 0 / 386.7 MB, free: 9.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.01329, allocations: 16 kB / 386.8 MB, free: 9.621 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 (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.0007867/0.01408, allocations: 325.6 kB / 387.1 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.01419, allocations: 31.61 kB / 387.1 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01419, allocations: 4 kB / 387.1 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.451e-05/0.0142, allocations: 11.69 kB / 387.1 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.01449, allocations: 41.55 kB / 387.2 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006836/0.01517, allocations: 0.5729 MB / 387.7 MB, free: 8.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.336e-05/0.01525, allocations: 123.2 kB / 387.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.158e-05/0.01529, allocations: 7.984 kB / 387.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.01532, allocations: 12.5 kB / 387.9 MB, free: 8.555 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01532, allocations: 0 / 387.9 MB, free: 8.555 MB / 362.7 MB Notification: Performance of Templates: time 0.004138/0.01946, allocations: 1.277 MB / 389.1 MB, free: 7.289 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.1373080369085073]