Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001091/0.001091, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001378/0.001378, allocations: 171.4 kB / 25 MB, free: 8.863 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.574 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.2936/0.2936, allocations: 34.25 MB / 296 MB, free: 0.7656 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.CombiTable1Ds.Test5,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.759e-05, allocations: 6.312 kB / 378 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.004745/0.004772, allocations: 1.646 MB / 379.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007477/0.00552, allocations: 0.5336 MB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.005584, allocations: 3.938 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.005868, allocations: 99.67 kB / 380.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.006151, allocations: 111.5 kB / 380.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.006395, allocations: 91.69 kB / 380.5 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.006572, allocations: 83.7 kB / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.006696, allocations: 23.91 kB / 380.6 MB, free: 336 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.382e-05/0.00677, allocations: 43.89 kB / 380.7 MB, free: 292 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.006871, allocations: 55.88 kB / 380.7 MB, free: 236 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.006889, allocations: 0 / 380.7 MB, free: 236 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.894e-05/0.006988, allocations: 43.98 kB / 380.8 MB, free: 192 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.007051, allocations: 23.91 kB / 380.8 MB, free: 168 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.00709, allocations: 11.94 kB / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.007271, allocations: 99.53 kB / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.007275, allocations: 0 / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.007276, allocations: 0 / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.007283, allocations: 0 / 380.9 MB, free: 56 kB / 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.0004581/0.007742, allocations: 460 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.007782, allocations: 8.031 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.007827, allocations: 12.89 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.007977, allocations: 152.4 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.007985, allocations: 384 / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.008009, allocations: 12.31 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.008128, allocations: 58.94 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.008137, allocations: 192 / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.008148, allocations: 4.125 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.008161, allocations: 0 / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.512e-05/0.008196, allocations: 15.98 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.008519, allocations: 299.7 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/0.008594, allocations: 46.98 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.00862, allocations: 23.64 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.008642, allocations: 0 / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.008664, allocations: 33.39 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.008665, allocations: 0 / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005596/0.009224, allocations: 177.2 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.00926, allocations: 63.34 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.00942, allocations: 245.9 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.009432, allocations: 25.7 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.009501, allocations: 162.8 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.009529, allocations: 27.75 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.009566, allocations: 27.36 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.009706, allocations: 0.5 MB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.00973, allocations: 8 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.069e-05/0.00975, allocations: 11.98 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.132e-05/0.009802, allocations: 31.69 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.009803, allocations: 0 / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000103/0.009905, allocations: 81.7 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.009923, allocations: 10.12 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.009928, allocations: 0 / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.009941, allocations: 0 / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/0.01003, allocations: 15.98 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01004, allocations: 4 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.01006, allocations: 0 / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.01007, allocations: 11.98 kB / 383.4 MB, free: 13.36 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 8.916e-05/0.01016, allocations: 156.5 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.01019, allocations: 19.91 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.01033, allocations: 87.08 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01034, allocations: 4 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01034, allocations: 0 / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01034, allocations: 0 / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.01067, allocations: 389.3 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01067, allocations: 3.938 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.62e-05/0.01072, allocations: 19.98 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.01072, allocations: 0 / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.01073, allocations: 0 / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01073, allocations: 4.031 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01073, allocations: 4 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.01086, allocations: 235.4 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.01107, allocations: 11.94 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.01108, allocations: 4 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.01112, allocations: 8 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.01116, allocations: 11.92 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.01116, allocations: 0 / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.79e-05/0.01124, allocations: 175.2 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01124, allocations: 0 / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.01141, allocations: 27.92 kB / 384.5 MB, free: 12.13 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.0009434/0.01235, allocations: 437.6 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.01249, allocations: 47.59 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01249, allocations: 0 / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.372e-05/0.01252, allocations: 35.61 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.01277, allocations: 19.92 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.01323, allocations: 241.8 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.072e-05/0.01328, allocations: 71.39 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.241e-05/0.01333, allocations: 13.03 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.01336, allocations: 20.5 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.293e-06/0.01336, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of Templates: time 0.003239/0.0166, allocations: 1.379 MB / 386.8 MB, free: 9.992 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.26793155586347]