Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009727/0.0009727, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001012/0.001012, allocations: 171.5 kB / 24.91 MB, free: 8.766 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.9896/0.9896, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2462/0.2462, allocations: 34.27 MB / 296.1 MB, free: 0.6875 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.649e-05, allocations: 3.891 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002126/0.002142, allocations: 1.765 MB / 327.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.003491, allocations: 1.002 MB / 328.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.003573, allocations: 7.938 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.00385, allocations: 39.77 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.004109, allocations: 99.47 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.00427, allocations: 79.61 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.00442, allocations: 111.6 kB / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.532e-05/0.004495, allocations: 8 kB / 328.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/0.004576, allocations: 55.81 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.004644, allocations: 27.92 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.004658, allocations: 4 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.004732, allocations: 43.92 kB / 328.6 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.004776, allocations: 23.91 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.004808, allocations: 24.31 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.004952, allocations: 103.6 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.004954, allocations: 0 / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004954, allocations: 0 / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.004958, allocations: 0 / 328.7 MB, free: 4.227 MB / 298.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.0003402/0.005298, allocations: 325.5 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.005339, allocations: 8.031 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.005373, allocations: 12.94 kB / 329.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.005534, allocations: 146.5 kB / 329.2 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.005551, allocations: 12.36 kB / 329.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.005574, allocations: 4.375 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.005685, allocations: 69.7 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.005695, allocations: 3.938 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.005703, allocations: 0 / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005709, allocations: 0 / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.563e-05/0.005734, allocations: 8 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.005963, allocations: 165.9 kB / 329.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.006071, allocations: 93.3 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.006096, allocations: 16.84 kB / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.006106, allocations: 0 / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.627e-05/0.006192, allocations: 70.14 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.006193, allocations: 0 / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002714/0.006464, allocations: 109.5 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.006499, allocations: 55.41 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.0066, allocations: 180.2 kB / 330 MB, free: 2.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.006614, allocations: 33.7 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.006643, allocations: 96.06 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.00667, allocations: 31.77 kB / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.006697, allocations: 21.72 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.006768, allocations: 326.8 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.006784, allocations: 10.77 kB / 330.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.006807, allocations: 25.7 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.849e-05/0.006846, allocations: 40.52 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.006847, allocations: 0 / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.087e-05/0.006918, allocations: 76.38 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.00693, allocations: 11.98 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.006934, allocations: 0 / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.006944, allocations: 0 / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.223e-05/0.006996, allocations: 16 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.007, allocations: 0 / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.007026, allocations: 4 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.007032, allocations: 4.359 kB / 330.7 MB, free: 2.109 MB / 298.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.918e-05/0.007091, allocations: 120.6 kB / 330.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.007103, allocations: 11.94 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.542e-05/0.007198, allocations: 87.08 kB / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.0072, allocations: 0 / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.007203, allocations: 4 kB / 330.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.007206, allocations: 7.938 kB / 330.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.007425, allocations: 291.6 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.007427, allocations: 4 kB / 331.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.007447, allocations: 8 kB / 331.2 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.007449, allocations: 0 / 331.2 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.007455, allocations: 4 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007456, allocations: 0 / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.007458, allocations: 8.109 kB / 331.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.007559, allocations: 223 kB / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.00757, allocations: 11.91 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.007584, allocations: 4 kB / 331.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.007622, allocations: 4 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.007645, allocations: 7.984 kB / 331.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.007655, allocations: 0 / 331.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.356e-05/0.007698, allocations: 60.69 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007698, allocations: 0 / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.007841, allocations: 27.92 kB / 331.5 MB, free: 1.172 MB / 298.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.001118/0.008958, allocations: 0.5747 MB / 332.1 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.084e-05/0.009039, allocations: 40.77 kB / 332.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.009043, allocations: 8.062 kB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.009072, allocations: 24.78 kB / 332.2 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.009243, allocations: 35.92 kB / 332.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.009526, allocations: 227.6 kB / 332.4 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.588e-05/0.009562, allocations: 67.33 kB / 332.5 MB, free: 464 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.009597, allocations: 21.27 kB / 332.5 MB, free: 440 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.009657, allocations: 67.38 kB / 332.6 MB, free: 372 kB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.009658, allocations: 4.062 kB / 332.6 MB, free: 368 kB / 298.7 MB Notification: Performance of Templates: time 0.003288/0.01295, allocations: 2.009 MB / 334.6 MB, free: 14.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9425724488683045]