Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001065/0.001065, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009983/0.0009983, allocations: 167.6 kB / 25 MB, free: 8.871 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 1.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2828/0.2828, allocations: 32.8 MB / 294.6 MB, free: 1.184 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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 376 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/3.013e-05, allocations: 2.312 kB / 376 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.00268/0.002711, allocations: 1.657 MB / 377.7 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008421/0.003553, allocations: 0.5298 MB / 378.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.003627, allocations: 0 / 378.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.003965, allocations: 107.7 kB / 378.3 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.0043, allocations: 123.4 kB / 378.4 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.004578, allocations: 99.62 kB / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.004788, allocations: 87.75 kB / 378.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.004908, allocations: 11.98 kB / 378.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.005002, allocations: 51.88 kB / 378.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.00514, allocations: 67.84 kB / 378.8 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.005157, allocations: 4 kB / 378.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-05/0.005255, allocations: 51.86 kB / 378.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.005312, allocations: 23.92 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.005347, allocations: 19.86 kB / 378.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.005526, allocations: 95.66 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005529, allocations: 4 kB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.00553, allocations: 0 / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.005536, allocations: 0 / 378.9 MB, free: 1.992 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.0004703/0.006006, allocations: 455.7 kB / 379.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.006046, allocations: 12.03 kB / 379.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.006102, allocations: 20.83 kB / 379.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.006262, allocations: 149.2 kB / 379.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.006272, allocations: 384 / 379.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.006295, allocations: 4.375 kB / 379.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.00642, allocations: 58.94 kB / 379.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006431, allocations: 8.188 kB / 379.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.006443, allocations: 8.109 kB / 379.7 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.00645, allocations: 0 / 379.7 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.921e-05/0.00649, allocations: 19.92 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.006841, allocations: 295.7 kB / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.916e-05/0.00691, allocations: 39.06 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.006936, allocations: 19.7 kB / 380 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.006957, allocations: 0 / 380 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.006982, allocations: 37.33 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.006983, allocations: 0 / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006232/0.007606, allocations: 177.2 kB / 380.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.007645, allocations: 51.41 kB / 380.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.007818, allocations: 267.1 kB / 380.5 MB, free: 240 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.007831, allocations: 25.7 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.0079, allocations: 158.9 kB / 380.7 MB, free: 44 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.007931, allocations: 35.8 kB / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.007981, allocations: 23.38 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.008109, allocations: 0.5078 MB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.008135, allocations: 11.98 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.008156, allocations: 12 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.399e-05/0.00821, allocations: 43.83 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.008211, allocations: 0 / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001068/0.008318, allocations: 73.59 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.008333, allocations: 4 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.008338, allocations: 0 / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.008354, allocations: 4 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.008446, allocations: 23.98 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.008453, allocations: 0 / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.271e-05/0.008476, allocations: 0 / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.008483, allocations: 8 kB / 381.5 MB, free: 15.27 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 (8): * Single equations (assignments): 8 * 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.0001447/0.008627, allocations: 164.5 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.008651, allocations: 15.91 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.00881, allocations: 95.05 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008812, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.008817, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.008821, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.009158, allocations: 385 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.00916, allocations: 0 / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.00921, allocations: 20.03 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.009215, allocations: 3.984 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.009225, allocations: 7.938 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.009228, allocations: 0 / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.00923, allocations: 4 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.009372, allocations: 231.5 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.009387, allocations: 12.33 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.009401, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.009441, allocations: 11.98 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.009485, allocations: 7.938 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.00949, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.586e-05/0.009586, allocations: 191.1 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009586, allocations: 0 / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000185/0.009771, allocations: 19.94 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00101/0.01078, allocations: 451.6 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.0109, allocations: 35.67 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.01091, allocations: 4 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-05/0.01094, allocations: 35.61 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.01118, allocations: 19.3 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.01162, allocations: 249.5 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.98e-05/0.01167, allocations: 75.33 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.924e-05/0.01171, allocations: 13.03 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.01174, allocations: 16.48 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of SimCode: time 1.473e-06/0.01174, allocations: 0 / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of Templates: time 0.003592/0.01533, allocations: 1.388 MB / 384.9 MB, free: 11.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/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: 3.284361358033493]