Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001402/0.001402, 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.001632/0.001632, allocations: 173.9 kB / 24.92 MB, free: 8.727 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.9835/0.9835, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2704/0.2704, allocations: 34.27 MB / 296.1 MB, free: 0.7344 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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.517e-05, allocations: 3.188 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003215/0.00324, allocations: 1.767 MB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.004979, allocations: 1.006 MB / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.797e-05/0.005057, allocations: 0 / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.005358, allocations: 39.72 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.005703, allocations: 103.5 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.005927, allocations: 83.53 kB / 328.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.006107, allocations: 103.7 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.074e-05/0.006188, allocations: 7.984 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.006307, allocations: 59.77 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/0.006388, allocations: 27.91 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.006405, allocations: 4 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.525e-05/0.0065, allocations: 43.92 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.006553, allocations: 23.92 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.006601, allocations: 28.36 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.006799, allocations: 107.6 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.006802, allocations: 0 / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006803, allocations: 0 / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.006807, allocations: 0 / 328.7 MB, free: 4.195 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.0004301/0.007237, allocations: 321.5 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.007271, allocations: 8.031 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.00731, allocations: 8.938 kB / 329.1 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.007499, allocations: 150.5 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.007521, allocations: 4.375 kB / 329.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.007542, allocations: 4.375 kB / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.007651, allocations: 69.7 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.007659, allocations: 7.875 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.007665, allocations: 0 / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.00767, allocations: 0 / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.007691, allocations: 11.98 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.007872, allocations: 162 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.979e-05/0.007952, allocations: 85.28 kB / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.007969, allocations: 16.84 kB / 329.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.007978, allocations: 4 kB / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.319e-05/0.008051, allocations: 70.09 kB / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.008052, allocations: 0 / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002484/0.008301, allocations: 117.5 kB / 329.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.008328, allocations: 51.41 kB / 329.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.008421, allocations: 176.3 kB / 330 MB, free: 2.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.008434, allocations: 25.7 kB / 330 MB, free: 2.789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.008467, allocations: 108 kB / 330.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.008492, allocations: 23.78 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.008519, allocations: 21.7 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.008589, allocations: 326.8 kB / 330.5 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.008606, allocations: 14.81 kB / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.008627, allocations: 21.7 kB / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.963e-05/0.008667, allocations: 48.45 kB / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.008668, allocations: 0 / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.036e-05/0.008738, allocations: 80.36 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.008749, allocations: 8 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.008753, allocations: 0 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.008765, allocations: 416 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.278e-05/0.008817, allocations: 16 kB / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.00882, allocations: 0 / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.008845, allocations: 11.98 kB / 330.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.008851, allocations: 4 kB / 330.7 MB, free: 2.078 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.505e-05/0.008906, allocations: 113.2 kB / 330.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.00892, allocations: 19.86 kB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.786e-05/0.009007, allocations: 71.14 kB / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009009, allocations: 0 / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.009011, allocations: 0 / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.009014, allocations: 0 / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.009203, allocations: 307.5 kB / 331.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.009204, allocations: 0 / 331.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.009226, allocations: 11.94 kB / 331.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.00923, allocations: 4 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.009235, allocations: 0 / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.009237, allocations: 0 / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.009238, allocations: 80 / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.905e-05/0.009327, allocations: 231 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.009338, allocations: 11.91 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.00935, allocations: 4.031 kB / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.052e-05/0.009391, allocations: 4 kB / 331.4 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.009412, allocations: 11.98 kB / 331.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.009421, allocations: 0 / 331.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.175e-05/0.009463, allocations: 60.69 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009463, allocations: 0 / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001333/0.009596, allocations: 23.92 kB / 331.5 MB, free: 1.152 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.00114/0.01074, allocations: 0.5799 MB / 332.1 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.623e-05/0.01081, allocations: 40.78 kB / 332.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01081, allocations: 0 / 332.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.01084, allocations: 28.78 kB / 332.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.011, allocations: 26.92 kB / 332.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.01127, allocations: 239.7 kB / 332.4 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.385e-05/0.0113, allocations: 67.33 kB / 332.5 MB, free: 440 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.424e-05/0.01134, allocations: 21.27 kB / 332.5 MB, free: 416 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.0114, allocations: 67.36 kB / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0114, allocations: 0 / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of Templates: time 0.003292/0.01469, allocations: 2.012 MB / 334.6 MB, free: 14.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.0354504231363535]