Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.000982/0.000982, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.000993/0.000993, allocations: 165 kB / 24.56 MB, free: 12 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.029/1.029, allocations: 177.1 MB / 205 MB, free: 5.594 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.2978/0.2978, allocations: 32.81 MB / 294.3 MB, free: 1.285 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.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.448e-05, allocations: 2.312 kB / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.00207/0.002085, allocations: 1.781 MB / 377.9 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.003785, allocations: 1.726 MB / 379.6 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.003862, allocations: 4 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.004127, allocations: 39.77 kB / 379.7 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.00446, allocations: 99.42 kB / 379.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.004632, allocations: 79.61 kB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.00478, allocations: 111.7 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.23e-05/0.004862, allocations: 4 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.004941, allocations: 63.75 kB / 380 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.005159, allocations: 35.91 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.005191, allocations: 4 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.005413, allocations: 107.8 kB / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.005474, allocations: 27.91 kB / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.005524, allocations: 19.92 kB / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.005797, allocations: 155.5 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.005801, allocations: 0 / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.005803, allocations: 0 / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.005809, allocations: 4 kB / 380.3 MB, free: 324 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005381/0.006347, allocations: 447.8 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.006388, allocations: 12.03 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.00644, allocations: 8.891 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.006638, allocations: 160.9 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.006657, allocations: 4.375 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.006685, allocations: 4.375 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.006847, allocations: 111.4 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.006858, allocations: 3.953 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.006868, allocations: 4 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.006876, allocations: 0 / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.772e-05/0.006914, allocations: 11.98 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.007228, allocations: 287.7 kB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.007346, allocations: 47.17 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.00738, allocations: 23.67 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.007396, allocations: 0 / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.007501, allocations: 69.05 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.007502, allocations: 3.938 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004045/0.007906, allocations: 153.3 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.007946, allocations: 81.05 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.008086, allocations: 216.8 kB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.008102, allocations: 33.7 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.008157, allocations: 142.9 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.008189, allocations: 35.77 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.008225, allocations: 31.38 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.008341, allocations: 0.4922 MB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.008371, allocations: 8 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.038e-05/0.008421, allocations: 72.75 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.874e-05/0.00848, allocations: 51.67 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.008481, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001175/0.008599, allocations: 89.59 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.008612, allocations: 4 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.008618, allocations: 8.062 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.008633, allocations: 0 / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.008713, allocations: 23.92 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.008718, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.101e-05/0.008749, allocations: 4 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.008756, allocations: 0 / 382.9 MB, free: 13.46 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 (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 7.679e-05/0.008833, allocations: 168.5 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.008852, allocations: 19.94 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.009019, allocations: 98.53 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.009023, allocations: 4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.009027, allocations: 4 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.009032, allocations: 3.984 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.009345, allocations: 388.9 kB / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.009348, allocations: 4 kB / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.009378, allocations: 12 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.009381, allocations: 0 / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.009389, allocations: 3.984 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.009391, allocations: 4 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.009393, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.009541, allocations: 255.4 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.009557, allocations: 11.98 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.009576, allocations: 7.938 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.546e-05/0.009621, allocations: 7.938 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.009656, allocations: 11.92 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.009669, allocations: 0 / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.001e-05/0.009749, allocations: 169.6 kB / 384.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009749, allocations: 0 / 384.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.009956, allocations: 43.88 kB / 384.1 MB, free: 12.18 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: 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.001166/0.01112, allocations: 0.5422 MB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.01126, allocations: 59.59 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01126, allocations: 0 / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.0113, allocations: 35.61 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.01154, allocations: 31.91 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.01189, allocations: 201.9 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.36e-05/0.01193, allocations: 67.33 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.494e-05/0.01198, allocations: 21.41 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.539e-05/0.01202, allocations: 24.48 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01202, allocations: 3.938 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Templates: time 0.004408/0.01643, allocations: 2.523 MB / 387.6 MB, free: 8.844 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.453485340811312]