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.001112/0.001112, allocations: 87.56 kB / 21.19 MB, free: 3.402 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.001111/0.001111, allocations: 161 kB / 24.56 MB, free: 40 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.9264/0.9264, allocations: 177.1 MB / 205 MB, free: 5.621 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.2867/0.2867, allocations: 34.26 MB / 295.7 MB, free: 0.7148 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.833e-06/1.833e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.978e-05, allocations: 2.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002472/0.002502, allocations: 1.661 MB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007786/0.003281, allocations: 0.5336 MB / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.003345, allocations: 0 / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.003659, allocations: 95.62 kB / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.003995, allocations: 119.5 kB / 380.5 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.004282, allocations: 87.7 kB / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.004457, allocations: 87.69 kB / 380.6 MB, free: 28 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.004556, allocations: 19.92 kB / 380.7 MB, free: 8 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.882e-05/0.004634, allocations: 39.89 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.643e-05/0.004731, allocations: 59.86 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.004747, allocations: 4 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.099e-05/0.004838, allocations: 43.92 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.004887, allocations: 19.92 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.004918, allocations: 19.92 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.005095, allocations: 95.59 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.005097, allocations: 0 / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005099, allocations: 4 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.005104, allocations: 0 / 380.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000411/0.005515, allocations: 451.8 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.005554, allocations: 12.03 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.005598, allocations: 8.891 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.005749, allocations: 152.4 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.005758, allocations: 384 / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.005778, allocations: 8.375 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.005896, allocations: 66.88 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.005906, allocations: 192 / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.005916, allocations: 4.125 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.005923, allocations: 4 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.265e-05/0.005956, allocations: 7.984 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.006261, allocations: 291.7 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.393e-05/0.006335, allocations: 46.98 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.006359, allocations: 15.72 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.006379, allocations: 3.984 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.006403, allocations: 41.33 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.006404, allocations: 4 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005784/0.006982, allocations: 173.5 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.007025, allocations: 51.48 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.007203, allocations: 249.9 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.007215, allocations: 25.7 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.007291, allocations: 166.8 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.007325, allocations: 27.75 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.00736, allocations: 31.3 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.007515, allocations: 0.5079 MB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.007542, allocations: 4 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.415e-05/0.007566, allocations: 11.98 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.634e-05/0.007622, allocations: 31.69 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007624, allocations: 0 / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001168/0.007741, allocations: 77.64 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.007759, allocations: 4 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.007766, allocations: 0 / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.007783, allocations: 0 / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.007893, allocations: 23.92 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.007899, allocations: 0 / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.007927, allocations: 4 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.007937, allocations: 8 kB / 383.4 MB, free: 13.04 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.564e-05/0.008022, allocations: 160.5 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.008045, allocations: 15.91 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.008207, allocations: 91.44 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.00821, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.008216, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.008219, allocations: 3.938 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.008547, allocations: 389 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.00855, allocations: 4.031 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.008598, allocations: 19.98 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.008602, allocations: 3.938 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.00861, allocations: 4 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.008612, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.008614, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.008747, allocations: 235.4 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.008758, allocations: 11.94 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.008774, allocations: 8 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/0.008809, allocations: 0 / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.008843, allocations: 11.92 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.008849, allocations: 8 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.355e-05/0.008932, allocations: 175.2 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008932, allocations: 0 / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.0091, allocations: 19.94 kB / 384.6 MB, free: 11.82 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.0009774/0.01008, allocations: 438.2 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.01023, allocations: 39.61 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.01023, allocations: 0 / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.01027, allocations: 35.67 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.01052, allocations: 19.5 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.01098, allocations: 245.7 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.568e-05/0.01104, allocations: 67.33 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.231e-05/0.01108, allocations: 13.03 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.01112, allocations: 20.5 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/0.01112, allocations: 4.062 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003729/0.01485, allocations: 1.488 MB / 386.9 MB, free: 9.578 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.173738878685981]