Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.0009024/0.0009024, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.0009546/0.0009546, allocations: 169 kB / 24.82 MB, free: 8.922 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.057/1.057, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3432/0.3432, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/2.113e-05, allocations: 2.312 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.00221/0.002231, allocations: 1.63 MB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007619/0.002993, allocations: 0.5257 MB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.003051, allocations: 4 kB / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.003256, allocations: 27.78 kB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.003481, allocations: 87.55 kB / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.003669, allocations: 87.75 kB / 380.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.003794, allocations: 67.72 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.71e-05/0.003881, allocations: 8 kB / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.003938, allocations: 27.91 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.003993, allocations: 23.91 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.004006, allocations: 4 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.004068, allocations: 27.94 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.00411, allocations: 19.92 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.004136, allocations: 19.92 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.004266, allocations: 67.69 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.004268, allocations: 0 / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004269, allocations: 0 / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.004273, allocations: 0 / 381.1 MB, free: 15.73 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.0003708/0.004644, allocations: 428 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.004682, allocations: 8.031 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.004711, allocations: 12.89 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.004829, allocations: 137.1 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.004837, allocations: 384 / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.004855, allocations: 4.375 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.323e-05/0.004948, allocations: 62.64 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.004956, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.004961, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.004967, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.004987, allocations: 11.98 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.00538, allocations: 252.3 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.005518, allocations: 51.03 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.005536, allocations: 15.62 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.005557, allocations: 4 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.005579, allocations: 37.39 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.00558, allocations: 0 / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002703/0.00585, allocations: 85.64 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.005878, allocations: 51.41 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.006003, allocations: 220.7 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.006015, allocations: 25.7 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.006079, allocations: 146.9 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.006103, allocations: 19.83 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.00613, allocations: 23.36 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.006255, allocations: 0.4962 MB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.006267, allocations: 8 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.015e-05/0.006278, allocations: 4 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.006312, allocations: 31.8 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.006314, allocations: 3.938 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.454e-05/0.006379, allocations: 53.66 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.006391, allocations: 4 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.006395, allocations: 0 / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.006406, allocations: 3.938 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-05/0.006448, allocations: 15.98 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.006452, allocations: 3.984 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.006469, allocations: 4 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.006475, allocations: 4 kB / 383.3 MB, free: 13.34 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 6.856e-05/0.006543, allocations: 164.4 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.006561, allocations: 15.91 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.207e-05/0.006653, allocations: 62.16 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.006655, allocations: 0 / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.006657, allocations: 0 / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.006661, allocations: 3.984 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.006891, allocations: 302 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.006893, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.006934, allocations: 12 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.006936, allocations: 4 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.006942, allocations: 0 / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.006943, allocations: 0 / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.006945, allocations: 0 / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.007074, allocations: 208 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.007089, allocations: 11.94 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.007101, allocations: 0 / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.007152, allocations: 8 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.007184, allocations: 3.938 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.00719, allocations: 7.984 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.41e-05/0.007264, allocations: 149.6 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007264, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.007484, allocations: 19.98 kB / 384.3 MB, free: 12.32 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.001032/0.008516, allocations: 390.6 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.148e-05/0.008608, allocations: 19.69 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008609, allocations: 0 / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.702e-05/0.008636, allocations: 27.55 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.008919, allocations: 30.67 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.009275, allocations: 182.3 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.041e-05/0.009326, allocations: 63.34 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.944e-05/0.009365, allocations: 15.97 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.009442, allocations: 78.2 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009442, allocations: 0 / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of Templates: time 0.003773/0.01322, allocations: 1.271 MB / 386.3 MB, free: 10.35 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.3145172242075205]