Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.0009132/0.0009132, allocations: 80.8 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.001236/0.001236, allocations: 173 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.987/0.987, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2601/0.2601, allocations: 34.25 MB / 296.1 MB, free: 0.6836 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 3.938 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.929e-05, allocations: 6 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003015/0.003034, allocations: 1.752 MB / 327.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.00478, allocations: 1.018 MB / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.016e-05/0.004861, allocations: 3.938 kB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.005167, allocations: 47.75 kB / 328.2 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.0055, allocations: 103.5 kB / 328.3 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.005708, allocations: 83.55 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.005884, allocations: 107.6 kB / 328.5 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.005973, allocations: 8 kB / 328.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.006083, allocations: 51.84 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.461e-05/0.006167, allocations: 31.89 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.006186, allocations: 4 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.00629, allocations: 47.92 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.006352, allocations: 31.84 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.006394, allocations: 16.44 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.006617, allocations: 115.5 kB / 328.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00662, allocations: 4 kB / 328.8 MB, free: 4.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.006621, allocations: 0 / 328.8 MB, free: 4.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.006625, allocations: 0 / 328.8 MB, free: 4.188 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.0004762/0.007101, allocations: 349.3 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.007136, allocations: 8.031 kB / 329.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.007173, allocations: 8.922 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.00737, allocations: 170.4 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.007387, allocations: 384 / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.007412, allocations: 4.375 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.007538, allocations: 65.75 kB / 329.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.007549, allocations: 3.938 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.007557, allocations: 4 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.007563, allocations: 0 / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.211e-05/0.007595, allocations: 8 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.007835, allocations: 166 kB / 329.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.007947, allocations: 93.22 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.007977, allocations: 20.86 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.007987, allocations: 0 / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.706e-05/0.008084, allocations: 66.14 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.008086, allocations: 0 / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003425/0.008428, allocations: 117.5 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.008464, allocations: 51.41 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.008647, allocations: 212 kB / 330.1 MB, free: 2.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.008669, allocations: 33.7 kB / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.00871, allocations: 96.11 kB / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.008739, allocations: 27.77 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.008777, allocations: 21.72 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.008878, allocations: 330.8 kB / 330.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.008904, allocations: 14.77 kB / 330.6 MB, free: 2.191 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.008936, allocations: 25.69 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.862e-05/0.008995, allocations: 48.52 kB / 330.7 MB, free: 2.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008996, allocations: 0 / 330.7 MB, free: 2.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001096/0.009105, allocations: 72.38 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.009117, allocations: 12.03 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.009122, allocations: 0 / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.009134, allocations: 0 / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.009207, allocations: 15.98 kB / 330.8 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.00921, allocations: 0 / 330.8 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.942e-05/0.00925, allocations: 4 kB / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.009258, allocations: 4 kB / 330.8 MB, free: 1.992 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 8.268e-05/0.009341, allocations: 116.6 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.009364, allocations: 19.92 kB / 330.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.009501, allocations: 75.06 kB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.009505, allocations: 8 kB / 331 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.009507, allocations: 0 / 331 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.00951, allocations: 0 / 331 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.009819, allocations: 303.5 kB / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.009821, allocations: 384 / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.009858, allocations: 8 kB / 331.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.009863, allocations: 11.98 kB / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.009871, allocations: 0 / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.009873, allocations: 0 / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.009876, allocations: 8.016 kB / 331.3 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.01004, allocations: 231 kB / 331.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.01006, allocations: 11.91 kB / 331.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.01008, allocations: 4 kB / 331.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.01015, allocations: 4 kB / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.01018, allocations: 7.984 kB / 331.6 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.0102, allocations: 4 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.574e-05/0.01028, allocations: 72.78 kB / 331.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01028, allocations: 4 kB / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.01053, allocations: 23.94 kB / 331.7 MB, free: 1.027 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.001758/0.01229, allocations: 0.5816 MB / 332.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.0124, allocations: 40.77 kB / 332.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.0124, allocations: 4 kB / 332.3 MB, free: 0.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.08e-05/0.01246, allocations: 28.86 kB / 332.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.01272, allocations: 31.91 kB / 332.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.01315, allocations: 260.2 kB / 332.6 MB, free: 368 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.679e-05/0.01321, allocations: 75.33 kB / 332.7 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.939e-05/0.01326, allocations: 17.28 kB / 332.7 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.01335, allocations: 67.36 kB / 332.8 MB, free: 188 kB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01335, allocations: 0 / 332.8 MB, free: 188 kB / 298.7 MB Notification: Performance of Templates: time 0.004105/0.01746, allocations: 2.033 MB / 334.8 MB, free: 14.18 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.0178926000371575]