Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.0009265/0.0009265, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001105/0.001105, allocations: 169 kB / 24.91 MB, free: 8.723 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.9008/0.9008, allocations: 177.1 MB / 205.3 MB, free: 4.488 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.2097/0.2097, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.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.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 323.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.217e-05, allocations: 10.25 kB / 323.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002115/0.002137, allocations: 1.761 MB / 325.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.003272, allocations: 1.001 MB / 326.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.003337, allocations: 0 / 326.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.003583, allocations: 47.75 kB / 326.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.003843, allocations: 99.47 kB / 326.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.004017, allocations: 87.55 kB / 326.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.004149, allocations: 103.7 kB / 326.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.33e-05/0.004213, allocations: 8 kB / 326.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.025e-05/0.004293, allocations: 63.75 kB / 326.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.086e-05/0.004354, allocations: 19.92 kB / 326.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.004365, allocations: 4 kB / 326.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.137e-05/0.004437, allocations: 47.91 kB / 326.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.004479, allocations: 23.92 kB / 326.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.004507, allocations: 23.86 kB / 326.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.004645, allocations: 99.66 kB / 326.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004647, allocations: 4 kB / 326.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004647, allocations: 4 kB / 326.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.625e-06/0.00465, allocations: 0 / 326.7 MB, free: 15.3 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000323/0.004973, allocations: 324.1 kB / 327 MB, free: 14.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.005003, allocations: 15.98 kB / 327 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.005031, allocations: 8.922 kB / 327 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.005165, allocations: 153.6 kB / 327.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.005178, allocations: 384 / 327.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.005196, allocations: 8.312 kB / 327.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.104e-05/0.005287, allocations: 61.77 kB / 327.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005295, allocations: 7.938 kB / 327.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.005301, allocations: 0 / 327.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.005307, allocations: 0 / 327.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.005329, allocations: 15.92 kB / 327.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.005516, allocations: 170 kB / 327.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.213e-05/0.005598, allocations: 85.28 kB / 327.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.005615, allocations: 8.859 kB / 327.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.005624, allocations: 0 / 327.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.332e-05/0.005707, allocations: 78.08 kB / 327.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.005708, allocations: 4 kB / 327.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000248/0.005956, allocations: 105.6 kB / 327.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.005982, allocations: 51.41 kB / 327.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.00608, allocations: 192.7 kB / 328 MB, free: 13.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.006095, allocations: 29.7 kB / 328 MB, free: 13.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.006121, allocations: 92.08 kB / 328.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.006144, allocations: 23.83 kB / 328.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.006171, allocations: 21.72 kB / 328.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.006241, allocations: 334.8 kB / 328.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.006255, allocations: 6.828 kB / 328.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.006279, allocations: 33.64 kB / 328.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.997e-05/0.006319, allocations: 48.45 kB / 328.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.00632, allocations: 0 / 328.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.884e-05/0.006389, allocations: 68.44 kB / 328.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.006399, allocations: 7.938 kB / 328.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006403, allocations: 0 / 328.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.006413, allocations: 0 / 328.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.006465, allocations: 15.98 kB / 328.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.006469, allocations: 4 kB / 328.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.006493, allocations: 4.031 kB / 328.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.0065, allocations: 8 kB / 328.6 MB, free: 13.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.492e-05/0.006555, allocations: 116.7 kB / 328.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/0.006819, allocations: 15.92 kB / 328.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.059e-05/0.00691, allocations: 71.08 kB / 328.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.006912, allocations: 4 kB / 328.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006913, allocations: 3.938 kB / 328.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.006917, allocations: 3.984 kB / 328.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.007123, allocations: 295.4 kB / 329.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007125, allocations: 4.031 kB / 329.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.007146, allocations: 8 kB / 329.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.007148, allocations: 0 / 329.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.007153, allocations: 0 / 329.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.007155, allocations: 7.984 kB / 329.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.007157, allocations: 3.938 kB / 329.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.99e-05/0.007247, allocations: 215 kB / 329.4 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.00726, allocations: 16.27 kB / 329.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.007275, allocations: 4 kB / 329.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.814e-05/0.007313, allocations: 7.984 kB / 329.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.007335, allocations: 15.94 kB / 329.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.007346, allocations: 7.984 kB / 329.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.234e-05/0.007388, allocations: 52.7 kB / 329.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007388, allocations: 0 / 329.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.00753, allocations: 23.98 kB / 329.5 MB, free: 12.24 MB / 314.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001116/0.008646, allocations: 0.5681 MB / 330.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.139e-05/0.008727, allocations: 44.77 kB / 330.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.00873, allocations: 4 kB / 330.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.641e-05/0.008756, allocations: 20.84 kB / 330.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.008917, allocations: 35.86 kB / 330.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.009197, allocations: 223 kB / 330.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.567e-05/0.009233, allocations: 71.47 kB / 330.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.009266, allocations: 17.27 kB / 330.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.009323, allocations: 67.36 kB / 330.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009324, allocations: 0 / 330.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of Templates: time 0.003276/0.0126, allocations: 2.03 MB / 332.6 MB, free: 9.414 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.0136984144337475]