Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001012/0.001012, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009304/0.0009304, allocations: 165 kB / 24.56 MB, free: 16 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.9403/0.9403, allocations: 177.2 MB / 205 MB, free: 5.297 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.2635/0.2635, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 378.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.536e-05, allocations: 2.312 kB / 378.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.001951/0.001967, allocations: 1.701 MB / 379.8 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003107, allocations: 1.313 MB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.03e-05/0.003148, allocations: 4 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.003293, allocations: 23.8 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.003531, allocations: 91.55 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.00385, allocations: 179.4 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.003983, allocations: 71.81 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.555e-05/0.004049, allocations: 15.98 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.004106, allocations: 51.77 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.004174, allocations: 23.98 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.004188, allocations: 8 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.004302, allocations: 95.81 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.004341, allocations: 23.91 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.004364, allocations: 15.98 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.004543, allocations: 147.4 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.004546, allocations: 3.984 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004547, allocations: 0 / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.00455, allocations: 0 / 381.8 MB, free: 14.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003896/0.00494, allocations: 428 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.004969, allocations: 12.03 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.00501, allocations: 16.89 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.00514, allocations: 138.5 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.00515, allocations: 8.312 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.005166, allocations: 384 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.005294, allocations: 112 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.005302, allocations: 192 / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.005311, allocations: 4.125 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.005318, allocations: 4 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.992e-05/0.005348, allocations: 11.97 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.005619, allocations: 299.7 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.516e-05/0.005684, allocations: 35.05 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.005976, allocations: 19.62 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.00599, allocations: 4 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.006008, allocations: 33.39 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.006008, allocations: 0 / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003357/0.006344, allocations: 133.5 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.006384, allocations: 81.11 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.006483, allocations: 194.5 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.006495, allocations: 29.7 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.006533, allocations: 138.9 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.006552, allocations: 31.69 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.006584, allocations: 31.36 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.006679, allocations: 0.4884 MB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.0067, allocations: 12 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.792e-05/0.006738, allocations: 57.12 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.006781, allocations: 35.62 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.006782, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.312e-05/0.006865, allocations: 73.64 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.006874, allocations: 8.031 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.006877, allocations: 0 / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.006886, allocations: 0 / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.006953, allocations: 27.86 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.006958, allocations: 0 / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/0.006984, allocations: 7.984 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.006989, allocations: 0 / 384.2 MB, free: 12.2 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 5.895e-05/0.007048, allocations: 164.5 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.007067, allocations: 7.953 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.007177, allocations: 78.45 kB / 384.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.00718, allocations: 7.938 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.007183, allocations: 0 / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.007187, allocations: 3.984 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.007421, allocations: 337.8 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.007422, allocations: 0 / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.007461, allocations: 15.98 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.007463, allocations: 288 / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.007469, allocations: 4 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.00747, allocations: 0 / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.007473, allocations: 3.938 kB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.007582, allocations: 231.9 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.007593, allocations: 15.94 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.007604, allocations: 0 / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.007641, allocations: 4 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.007666, allocations: 7.984 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.00767, allocations: 4 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.371e-05/0.007724, allocations: 149.2 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007724, allocations: 0 / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001836/0.007908, allocations: 43.86 kB / 385.3 MB, free: 11.07 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.0009405/0.008848, allocations: 484.7 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.008956, allocations: 59.56 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008958, allocations: 0 / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.008986, allocations: 19.69 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.009172, allocations: 36.44 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.009469, allocations: 204.7 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.331e-05/0.009502, allocations: 63.34 kB / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.992e-05/0.009552, allocations: 20.7 kB / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.009585, allocations: 20.5 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.009585, allocations: 4 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of Templates: time 0.003501/0.01309, allocations: 2.192 MB / 388.4 MB, free: 8.113 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.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.1176439560949802]