Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.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.0009089/0.0009089, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009712/0.0009712, allocations: 168.7 kB / 24.91 MB, free: 9.145 MB / 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.905/0.905, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2666/0.2666, allocations: 34.25 MB / 296.1 MB, free: 0.7227 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 4 kB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.375e-05, allocations: 4.109 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.002309/0.002333, allocations: 1.703 MB / 327 MB, free: 5.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.003421, allocations: 1.293 MB / 328.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.00346, allocations: 0 / 328.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.003614, allocations: 27.78 kB / 328.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.003844, allocations: 91.48 kB / 328.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.004033, allocations: 131.6 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.004138, allocations: 71.77 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.004205, allocations: 12 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.826e-05/0.004263, allocations: 43.89 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.004343, allocations: 27.89 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.004356, allocations: 8 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.004465, allocations: 99.75 kB / 328.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.004507, allocations: 11.94 kB / 328.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.004526, allocations: 16.42 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.00469, allocations: 139.6 kB / 328.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004692, allocations: 0 / 328.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004692, allocations: 0 / 328.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.786e-06/0.004695, allocations: 3.938 kB / 328.9 MB, free: 3.992 MB / 298.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.0002966/0.004992, allocations: 309.6 kB / 329.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.62e-05/0.005018, allocations: 8.031 kB / 329.2 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.005046, allocations: 12.92 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.005162, allocations: 125.7 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.00517, allocations: 384 / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.005189, allocations: 8.375 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.00529, allocations: 102.3 kB / 329.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.005299, allocations: 4.141 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.005306, allocations: 8.125 kB / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.005311, allocations: 4 kB / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.087e-05/0.005331, allocations: 7.984 kB / 329.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.005754, allocations: 168.2 kB / 329.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.005804, allocations: 30.58 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.005821, allocations: 16.84 kB / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.005832, allocations: 0 / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.005855, allocations: 42.58 kB / 329.8 MB, free: 3.059 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.005856, allocations: 0 / 329.8 MB, free: 3.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002636/0.006119, allocations: 105.5 kB / 329.9 MB, free: 2.949 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.006151, allocations: 85.11 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.36e-05/0.006225, allocations: 133 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.006234, allocations: 29.7 kB / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.006263, allocations: 96.05 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.006279, allocations: 19.81 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.006307, allocations: 25.7 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.361e-05/0.00637, allocations: 318.8 kB / 330.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.006383, allocations: 4 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.006411, allocations: 47.41 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.006444, allocations: 32.77 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006445, allocations: 4.031 kB / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.688e-05/0.006502, allocations: 57.61 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.006511, allocations: 4 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.006514, allocations: 0 / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.006525, allocations: 0 / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.006588, allocations: 15.98 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.006591, allocations: 4.312 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.006614, allocations: 8 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.006619, allocations: 3.938 kB / 330.7 MB, free: 2.004 MB / 298.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 4.664e-05/0.006665, allocations: 112.6 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.006686, allocations: 19.92 kB / 330.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-05/0.006772, allocations: 70.38 kB / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.006773, allocations: 0 / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.006775, allocations: 4 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.006777, allocations: 0 / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.006955, allocations: 226.7 kB / 331.2 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.006957, allocations: 4 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.006991, allocations: 19.98 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.006992, allocations: 0 / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-06/0.006996, allocations: 0 / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006997, allocations: 4 kB / 331.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006998, allocations: 4 kB / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.972e-05/0.007067, allocations: 155.4 kB / 331.3 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.007077, allocations: 11.95 kB / 331.4 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.007087, allocations: 4 kB / 331.4 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.58e-05/0.007123, allocations: 7.984 kB / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.007144, allocations: 4 kB / 331.4 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.007147, allocations: 3.984 kB / 331.4 MB, free: 1.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.48e-05/0.007172, allocations: 31.48 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007172, allocations: 0 / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.007322, allocations: 43.88 kB / 331.4 MB, free: 1.234 MB / 298.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.001644/0.008966, allocations: 0.6328 MB / 332.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.009066, allocations: 32.8 kB / 332.1 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.009069, allocations: 0 / 332.1 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.009099, allocations: 20.84 kB / 332.1 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.009339, allocations: 19.92 kB / 332.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.009696, allocations: 199.9 kB / 332.3 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.997e-05/0.009736, allocations: 63.34 kB / 332.4 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.7e-05/0.009793, allocations: 12.3 kB / 332.4 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.009878, allocations: 71.34 kB / 332.5 MB, free: 456 kB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009879, allocations: 3.938 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of Templates: time 0.004536/0.01441, allocations: 2.111 MB / 334.6 MB, free: 14.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test32/Test32.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: 2.8499069600366056]