Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001027/0.001027, 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.001046/0.001046, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 0.9637/0.9637, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2903/0.2903, allocations: 34.26 MB / 296 MB, free: 0.7695 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.318e-05, allocations: 2.312 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002162/0.002185, allocations: 1.646 MB / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007876/0.002973, allocations: 0.5415 MB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.003046, allocations: 0 / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.003396, allocations: 107.6 kB / 380.3 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.003664, allocations: 123.4 kB / 380.5 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.003867, allocations: 91.69 kB / 380.5 MB, free: 440 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.004026, allocations: 99.67 kB / 380.6 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.004123, allocations: 12 kB / 380.7 MB, free: 328 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.156e-05/0.004195, allocations: 47.88 kB / 380.7 MB, free: 280 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.004305, allocations: 71.84 kB / 380.8 MB, free: 208 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.004319, allocations: 4 kB / 380.8 MB, free: 204 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.535e-05/0.004395, allocations: 47.91 kB / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.004454, allocations: 19.94 kB / 380.8 MB, free: 136 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.004488, allocations: 15.92 kB / 380.9 MB, free: 120 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.004654, allocations: 99.53 kB / 381 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.004657, allocations: 0 / 381 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004658, allocations: 8 kB / 381 MB, free: 12 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.004663, allocations: 0 / 381 MB, free: 12 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.0004223/0.005085, allocations: 451.8 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.005123, allocations: 11.97 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.00517, allocations: 16.84 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.005321, allocations: 153.2 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.00533, allocations: 4.375 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.005349, allocations: 4.375 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.005463, allocations: 62.94 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.005472, allocations: 192 / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.005481, allocations: 4.125 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.005488, allocations: 4 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.164e-05/0.00552, allocations: 8 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.00582, allocations: 303.6 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.544e-05/0.005885, allocations: 43.05 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.005908, allocations: 15.62 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.005927, allocations: 4.078 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.00595, allocations: 41.39 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.00595, allocations: 0 / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005344/0.006485, allocations: 185.4 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.006517, allocations: 55.41 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.006675, allocations: 259.1 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.006687, allocations: 25.7 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.006749, allocations: 162.9 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.006774, allocations: 31.73 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.006809, allocations: 27.38 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.006925, allocations: 0.5 MB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.006948, allocations: 11.98 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.006963, allocations: 4 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.811e-05/0.007011, allocations: 51.73 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.007011, allocations: 0 / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.403e-05/0.007095, allocations: 77.53 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.007108, allocations: 8 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.007112, allocations: 0 / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.007125, allocations: 3.938 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.007191, allocations: 15.98 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.007196, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.007215, allocations: 4 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.00722, allocations: 0 / 383.5 MB, free: 13.29 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 7.626e-05/0.007297, allocations: 168.5 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.007323, allocations: 15.91 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.007453, allocations: 91.38 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.007456, allocations: 4 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.007459, allocations: 0 / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.007463, allocations: 0 / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.00774, allocations: 393 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007742, allocations: 0 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.466e-05/0.007776, allocations: 12 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007778, allocations: 32 / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.007786, allocations: 8 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.007788, allocations: 3.984 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007789, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.007907, allocations: 243.4 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.007917, allocations: 11.91 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.00793, allocations: 4 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.222e-05/0.007962, allocations: 3.984 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.007991, allocations: 7.938 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.007996, allocations: 8 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.737e-05/0.008074, allocations: 179.1 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008074, allocations: 4 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.008233, allocations: 20 kB / 384.6 MB, free: 12.05 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.0008456/0.009078, allocations: 439 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.867e-05/0.009177, allocations: 51.58 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.00918, allocations: 4 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.009207, allocations: 23.62 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.009423, allocations: 27.92 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.009773, allocations: 253.5 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.345e-05/0.009817, allocations: 71.33 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.359e-05/0.009851, allocations: 13.03 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.009879, allocations: 20.48 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.009879, allocations: 0 / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of Templates: time 0.003012/0.01289, allocations: 1.389 MB / 386.9 MB, free: 9.891 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.14650670113042]