Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.0007657/0.0007657, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.001948, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007129/0.0007129, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000971/0.001684, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.027/1.027, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09663/1.124, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.2608/0.2608, allocations: 34.24 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02754/0.2883, allocations: 13.1 MB / 291.5 MB, free: 7.324 MB / 282.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.305e-05, allocations: 4.141 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002838/0.002851, allocations: 2.011 MB / 294.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.004435, allocations: 1.06 MB / 296 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.004532, allocations: 3.938 kB / 296 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.004741, allocations: 43.59 kB / 296 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.004978, allocations: 103.3 kB / 296.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.005184, allocations: 103.5 kB / 296.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.005401, allocations: 143.5 kB / 296.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.00551, allocations: 30.44 kB / 296.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.005674, allocations: 107.6 kB / 296.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.005775, allocations: 43.77 kB / 296.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.005796, allocations: 8 kB / 296.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-05/0.005893, allocations: 43.98 kB / 296.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.005947, allocations: 19.88 kB / 296.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.005989, allocations: 23.94 kB / 296.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.006192, allocations: 123.5 kB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.006203, allocations: 4 kB / 296.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006204, allocations: 0 / 296.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.006213, allocations: 0 / 296.8 MB, free: 2.242 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000543/0.006756, allocations: 418.5 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.006789, allocations: 8.031 kB / 297.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.006833, allocations: 12.92 kB / 297.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.007026, allocations: 162.3 kB / 297.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.007043, allocations: 4.375 kB / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.007071, allocations: 12.36 kB / 297.4 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.007264, allocations: 144.5 kB / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.007275, allocations: 3.938 kB / 297.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.007284, allocations: 0 / 297.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.007291, allocations: 0 / 297.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.007343, allocations: 31.36 kB / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.007724, allocations: 374 kB / 297.9 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.007898, allocations: 101.3 kB / 298 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.007926, allocations: 20.84 kB / 298 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.007938, allocations: 4 kB / 298 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.008063, allocations: 99.83 kB / 298.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.008064, allocations: 4 kB / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001402/0.008204, allocations: 69.61 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.008229, allocations: 51.41 kB / 298.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.008365, allocations: 193.6 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.008382, allocations: 25.7 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.008441, allocations: 116 kB / 298.6 MB, free: 252 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.008461, allocations: 27.75 kB / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.008505, allocations: 33.69 kB / 298.6 MB, free: 184 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.008607, allocations: 330.7 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.008631, allocations: 14.81 kB / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.931e-05/0.00867, allocations: 46.53 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.284e-05/0.008743, allocations: 69.86 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008745, allocations: 0 / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001176/0.008863, allocations: 96.3 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.008875, allocations: 8 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.008879, allocations: 3.938 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.008894, allocations: 4 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.008976, allocations: 23.98 kB / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.00898, allocations: 0 / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.009025, allocations: 11.95 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.009035, allocations: 11.98 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.456e-05/0.00911, allocations: 132.7 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.00913, allocations: 11.98 kB / 299.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.009235, allocations: 71.61 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.009238, allocations: 7.938 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.00924, allocations: 0 / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.009245, allocations: 3.984 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.853e-05/0.009343, allocations: 97.8 kB / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.009345, allocations: 3.938 kB / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.009402, allocations: 15.98 kB / 299.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.009417, allocations: 11.91 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.009419, allocations: 0 / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.009428, allocations: 8 kB / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.009429, allocations: 0 / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.009429, allocations: 0 / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.00957, allocations: 126.6 kB / 299.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.009586, allocations: 0 / 299.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.009621, allocations: 11.98 kB / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.009647, allocations: 4 kB / 299.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.00966, allocations: 3.984 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.436e-05/0.009714, allocations: 57.42 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009714, allocations: 0 / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.009891, allocations: 35.92 kB / 299.8 MB, free: 14.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001394/0.01129, allocations: 0.5488 MB / 300.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.01139, allocations: 48.77 kB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.0114, allocations: 4.125 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.01145, allocations: 40.72 kB / 300.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.01169, allocations: 251.4 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.01219, allocations: 257.8 kB / 301 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.896e-05/0.01224, allocations: 71.83 kB / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.85e-05/0.01228, allocations: 17.48 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.755e-05/0.01238, allocations: 75.36 kB / 301.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01238, allocations: 0 / 301.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Templates: time 0.004426/0.01681, allocations: 2.239 MB / 303.4 MB, free: 11.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.931069243699312]