Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001028/0.001028, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001294/0.001294, allocations: 161 kB / 24.56 MB, free: 20 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 1.04/1.04, allocations: 177.2 MB / 205 MB, free: 5.293 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.2818/0.2818, allocations: 32.81 MB / 294.3 MB, free: 1.246 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.594e-06/2.594e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.634e-05/4.893e-05, allocations: 6.25 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002939/0.002988, allocations: 1.665 MB / 377.7 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.003842, allocations: 0.5298 MB / 378.2 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.198e-05/0.003913, allocations: 0 / 378.2 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.004219, allocations: 71.72 kB / 378.3 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.004527, allocations: 111.5 kB / 378.4 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.004757, allocations: 87.64 kB / 378.5 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.004921, allocations: 91.73 kB / 378.6 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.005021, allocations: 11.94 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.888e-05/0.00509, allocations: 47.88 kB / 378.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.55e-05/0.005186, allocations: 39.89 kB / 378.7 MB, free: 2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.005202, allocations: 4 kB / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.992e-05/0.005292, allocations: 43.92 kB / 378.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.081e-05/0.005343, allocations: 27.92 kB / 378.8 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.005377, allocations: 15.92 kB / 378.8 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.005561, allocations: 91.61 kB / 378.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.005564, allocations: 0 / 378.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.005566, allocations: 0 / 378.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.005571, allocations: 0 / 378.9 MB, free: 1.82 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.0004329/0.006004, allocations: 439.9 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.006043, allocations: 8.031 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.00609, allocations: 16.83 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.00634, allocations: 144.4 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.00635, allocations: 4.375 kB / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.00638, allocations: 4.375 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.006524, allocations: 58.94 kB / 379.5 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.006534, allocations: 192 / 379.5 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.006546, allocations: 12.12 kB / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.006552, allocations: 0 / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.154e-05/0.006584, allocations: 7.984 kB / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.006951, allocations: 291.7 kB / 379.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.781e-05/0.007039, allocations: 47.03 kB / 379.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.007066, allocations: 11.62 kB / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.007097, allocations: 8 kB / 379.9 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.007123, allocations: 33.39 kB / 379.9 MB, free: 0.625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.007124, allocations: 3.938 kB / 379.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006252/0.007749, allocations: 173.3 kB / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.007783, allocations: 55.41 kB / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.007929, allocations: 227.3 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.00794, allocations: 25.7 kB / 380.4 MB, free: 108 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.008015, allocations: 158.8 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.008041, allocations: 23.8 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.008077, allocations: 31.36 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.008195, allocations: 0.5 MB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.008218, allocations: 8 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.893e-05/0.008237, allocations: 11.98 kB / 381.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.116e-05/0.008288, allocations: 35.91 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.008289, allocations: 0 / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001002/0.008389, allocations: 81.59 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.008403, allocations: 8 kB / 381.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.008408, allocations: 0 / 381.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.008426, allocations: 0 / 381.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.301e-05/0.008519, allocations: 19.98 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.008525, allocations: 0 / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.008544, allocations: 4 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.008552, allocations: 4 kB / 381.3 MB, free: 15.19 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 6.934e-05/0.008621, allocations: 168.4 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.008646, allocations: 19.91 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.008811, allocations: 83.14 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.008813, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.008817, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.008821, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.009252, allocations: 381 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.009255, allocations: 0 / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.009327, allocations: 16 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.009333, allocations: 0 / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.009343, allocations: 0 / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.009349, allocations: 7.922 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.009351, allocations: 4 kB / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.009502, allocations: 235.4 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.009514, allocations: 7.953 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.009531, allocations: 4 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.009568, allocations: 8.031 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.009608, allocations: 7.922 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.009614, allocations: 4 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.012e-05/0.009704, allocations: 167.9 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009704, allocations: 0 / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.009884, allocations: 23.92 kB / 382.4 MB, free: 13.99 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.0009518/0.01084, allocations: 439.9 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.01095, allocations: 43.66 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01095, allocations: 4 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.01098, allocations: 31.61 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.01121, allocations: 19.98 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.01162, allocations: 222.2 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.734e-05/0.01167, allocations: 67.34 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.701e-05/0.0117, allocations: 17.02 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.01174, allocations: 16.56 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01174, allocations: 0 / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of Templates: time 0.003509/0.01525, allocations: 1.391 MB / 384.6 MB, free: 11.87 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.503511403221637]