Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.00102/0.00102, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009462/0.0009462, allocations: 165 kB / 24.56 MB, free: 16 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.9912/0.9912, allocations: 177.2 MB / 205 MB, free: 5.273 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.2744/0.2744, allocations: 34.26 MB / 295.7 MB, free: 0.707 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.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.02e-05, allocations: 2.312 kB / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002402/0.002422, allocations: 1.722 MB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.003593, allocations: 0.9898 MB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.003669, allocations: 0 / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.004034, allocations: 95.62 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.004408, allocations: 119.4 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.004596, allocations: 75.61 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.004756, allocations: 115.7 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.004794, allocations: 4.234 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.004886, allocations: 59.77 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.126e-05/0.004977, allocations: 55.88 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.004992, allocations: 4 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.829e-05/0.00506, allocations: 39.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.005109, allocations: 27.84 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.005144, allocations: 15.94 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.005299, allocations: 91.66 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005301, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.005302, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.005306, allocations: 0 / 381.5 MB, free: 15.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004921/0.005798, allocations: 455.8 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.005836, allocations: 8.031 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.005891, allocations: 16.89 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.006066, allocations: 156.4 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.006086, allocations: 384 / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.006099, allocations: 4.375 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.006233, allocations: 58.94 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.006244, allocations: 3.938 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.006254, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.006262, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.341e-05/0.006296, allocations: 11.92 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.00647, allocations: 144.7 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.006582, allocations: 43.11 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.006615, allocations: 27.67 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.006627, allocations: 0 / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.914e-05/0.006727, allocations: 69 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.083e-06/0.006728, allocations: 0 / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001793/0.006907, allocations: 85.52 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.006938, allocations: 51.41 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.007073, allocations: 246.7 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.007085, allocations: 29.7 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.007138, allocations: 154.9 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.007167, allocations: 19.84 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.007196, allocations: 23.38 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.007315, allocations: 0.4962 MB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.007335, allocations: 11.98 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.007364, allocations: 27.38 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.711e-05/0.007411, allocations: 43.55 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007413, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.033e-05/0.007493, allocations: 77.53 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.007505, allocations: 4 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.00751, allocations: 7.969 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.007525, allocations: 7.984 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/0.007586, allocations: 11.94 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.007591, allocations: 0 / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.00762, allocations: 8 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.007625, allocations: 0 / 383.8 MB, free: 12.67 MB / 362.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 (7): * Single equations (assignments): 7 * 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.284e-05/0.007698, allocations: 160.6 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.007714, allocations: 19.91 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.007832, allocations: 90.84 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.007834, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.007837, allocations: 8 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.00784, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.363e-05/0.007934, allocations: 148.6 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007935, allocations: 0 / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/0.007952, allocations: 8 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.007954, allocations: 0 / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.007962, allocations: 4 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.007964, allocations: 3.938 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.007965, allocations: 0 / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.515e-05/0.00806, allocations: 124.4 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.008073, allocations: 7.953 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.008089, allocations: 8 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.199e-05/0.008111, allocations: 7.938 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.00814, allocations: 3.984 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.008152, allocations: 4 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.086e-05/0.008243, allocations: 185 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008243, allocations: 0 / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001478/0.008391, allocations: 15.94 kB / 384.6 MB, free: 11.81 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: 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 (6): * Single equations (assignments): 4 * 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.0007872/0.009178, allocations: 383.4 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.009299, allocations: 39.61 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0093, allocations: 0 / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/0.009332, allocations: 23.67 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.009519, allocations: 32.44 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.009834, allocations: 212.9 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.696e-05/0.009871, allocations: 71.33 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.185e-05/0.009903, allocations: 16.47 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.009932, allocations: 16.5 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009932, allocations: 0 / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Templates: time 0.003777/0.01371, allocations: 1.771 MB / 387.1 MB, free: 9.371 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.1859036781825125]