Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.002553/0.002553, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.003074/0.003074, allocations: 161.3 kB / 24.27 MB, free: 152 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.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3794/0.3794, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.422e-05, allocations: 4.703 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.004342/0.004377, allocations: 1.607 MB / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.007179, allocations: 1.255 MB / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.852e-05/0.007247, allocations: 4 kB / 380.2 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.007509, allocations: 19.84 kB / 380.2 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.007932, allocations: 83.55 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.008301, allocations: 95.58 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.008501, allocations: 71.81 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.008603, allocations: 8 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.008706, allocations: 35.84 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.008893, allocations: 31.91 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.008919, allocations: 4 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.009174, allocations: 91.81 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.009236, allocations: 11.98 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.009281, allocations: 11.94 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.009658, allocations: 147.5 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.009662, allocations: 0 / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.009663, allocations: 3.938 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.009671, allocations: 4 kB / 380.8 MB, free: 15.45 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.0007675/0.01044, allocations: 419.7 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.01049, allocations: 12.03 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.01056, allocations: 12.89 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.01082, allocations: 136.5 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.01084, allocations: 384 / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.01087, allocations: 4.375 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.01109, allocations: 95.27 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.0111, allocations: 192 / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.01112, allocations: 4.125 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.01112, allocations: 0 / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.01123, allocations: 19.98 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.01171, allocations: 287.8 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.01199, allocations: 54.98 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.01205, allocations: 19.77 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.01208, allocations: 11.88 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.01212, allocations: 33.39 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.01212, allocations: 0 / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000691/0.01281, allocations: 133.4 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/0.01289, allocations: 81.11 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.01317, allocations: 212.2 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.0132, allocations: 29.7 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.01332, allocations: 142.9 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.01335, allocations: 11.91 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.01342, allocations: 27.38 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003392/0.01376, allocations: 0.4923 MB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.01385, allocations: 15.98 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.01397, allocations: 61.02 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.01413, allocations: 43.66 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.01413, allocations: 4.219 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002478/0.01438, allocations: 81.58 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.0144, allocations: 8 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.0144, allocations: 0 / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.01442, allocations: 288 / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.877e-05/0.0145, allocations: 11.98 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.0145, allocations: 0 / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.01456, allocations: 7.938 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.01457, allocations: 0 / 383.2 MB, free: 12.77 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 (5): * Single equations (assignments): 5 * 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.0001641/0.01473, allocations: 168.5 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.01479, allocations: 15.88 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.01508, allocations: 90.06 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01508, allocations: 0 / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.01508, allocations: 4 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01509, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006095/0.01569, allocations: 345.3 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.0157, allocations: 4 kB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.891e-05/0.01578, allocations: 12 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01578, allocations: 4 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.01579, allocations: 0 / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.01579, allocations: 3.984 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01579, allocations: 3.938 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.01616, allocations: 227.8 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.01619, allocations: 12.19 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.01621, allocations: 0 / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.01632, allocations: 8 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.01636, allocations: 3.984 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.01636, allocations: 0 / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.01654, allocations: 163.2 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01654, allocations: 0 / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004387/0.01698, allocations: 39.86 kB / 384.3 MB, free: 11.61 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 (5): * Single equations (assignments): 5 * 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.004338/0.02132, allocations: 0.5189 MB / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.02161, allocations: 47.67 kB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.02162, allocations: 0 / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.02173, allocations: 31.61 kB / 384.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.02218, allocations: 31.05 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006053/0.02278, allocations: 185.9 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.02289, allocations: 71.33 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.179e-05/0.02297, allocations: 15.97 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.02304, allocations: 16.5 kB / 385.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02304, allocations: 0 / 385.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of Templates: time 0.007697/0.03073, allocations: 1.825 MB / 387 MB, free: 9.043 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.042381791980006]