Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.00145/0.00145, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001376/0.001376, allocations: 170 kB / 24.91 MB, free: 9.207 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 1.048/1.048, 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.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.2502/0.2502, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 323.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.133e-05, allocations: 5.188 kB / 323.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002581/0.002603, allocations: 1.998 MB / 325.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.004069, allocations: 1.036 MB / 326.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.004172, allocations: 7.938 kB / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.004473, allocations: 47.62 kB / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.004745, allocations: 99.42 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.004955, allocations: 95.64 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.005143, allocations: 152 kB / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.005264, allocations: 26.45 kB / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.005369, allocations: 75.8 kB / 326.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.935e-05/0.005459, allocations: 35.91 kB / 326.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.005476, allocations: 4 kB / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.005568, allocations: 63.78 kB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.005617, allocations: 23.92 kB / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.005663, allocations: 35.84 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.005866, allocations: 127.5 kB / 327.2 MB, free: 5.754 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005867, allocations: 0 / 327.2 MB, free: 5.754 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.005869, allocations: 0 / 327.2 MB, free: 5.754 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.005875, allocations: 0 / 327.2 MB, free: 5.754 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004469/0.006322, allocations: 382.9 kB / 327.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.006354, allocations: 8.031 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.006391, allocations: 16.92 kB / 327.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.006626, allocations: 166.3 kB / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.006645, allocations: 12.36 kB / 327.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.006666, allocations: 8.328 kB / 327.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.006833, allocations: 138.6 kB / 327.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.006841, allocations: 3.938 kB / 327.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.00685, allocations: 0 / 327.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.006856, allocations: 7.938 kB / 327.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.841e-05/0.006894, allocations: 22.75 kB / 327.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.007239, allocations: 374.1 kB / 328.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.0074, allocations: 113.2 kB / 328.4 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.007429, allocations: 20.84 kB / 328.4 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.007446, allocations: 0 / 328.4 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.007555, allocations: 99.89 kB / 328.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.007557, allocations: 0 / 328.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001332/0.00769, allocations: 73.59 kB / 328.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.007717, allocations: 59.41 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.007838, allocations: 185.6 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.007854, allocations: 25.7 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.007905, allocations: 115.9 kB / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.007925, allocations: 23.83 kB / 329 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.007959, allocations: 25.72 kB / 329 MB, free: 3.723 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.008047, allocations: 334.7 kB / 329.3 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.008065, allocations: 10.83 kB / 329.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.0081, allocations: 52.2 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.008327, allocations: 69.86 kB / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008329, allocations: 0 / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001047/0.008434, allocations: 88.36 kB / 329.5 MB, free: 3.129 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.008447, allocations: 8 kB / 329.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.008452, allocations: 0 / 329.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.008464, allocations: 4 kB / 329.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.008536, allocations: 24.05 kB / 329.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.00854, allocations: 8 kB / 329.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.008578, allocations: 19.88 kB / 329.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.008584, allocations: 4 kB / 329.6 MB, free: 3.062 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 6.715e-05/0.008651, allocations: 120.6 kB / 329.7 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.008666, allocations: 11.98 kB / 329.7 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.008773, allocations: 79.53 kB / 329.8 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.008775, allocations: 0 / 329.8 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.008777, allocations: 0 / 329.8 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.00878, allocations: 0 / 329.8 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.968e-05/0.00887, allocations: 105.8 kB / 329.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.008872, allocations: 11.88 kB / 329.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.008921, allocations: 12 kB / 329.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.008924, allocations: 4 kB / 329.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.008931, allocations: 0 / 329.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.008935, allocations: 3.938 kB / 330 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008936, allocations: 0 / 330 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.009057, allocations: 119.6 kB / 330.1 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.009073, allocations: 19.78 kB / 330.1 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.009086, allocations: 0 / 330.1 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.777e-05/0.009114, allocations: 15.92 kB / 330.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.009144, allocations: 16 kB / 330.1 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.009156, allocations: 4 kB / 330.1 MB, free: 2.492 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.554e-05/0.009202, allocations: 52.23 kB / 330.2 MB, free: 2.438 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009202, allocations: 0 / 330.2 MB, free: 2.438 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001362/0.009338, allocations: 24 kB / 330.2 MB, free: 2.414 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.001109/0.01045, allocations: 0.4971 MB / 330.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.01056, allocations: 48.95 kB / 330.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.01056, allocations: 4.062 kB / 330.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.346e-05/0.01059, allocations: 24.8 kB / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.01074, allocations: 47.84 kB / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.01109, allocations: 255 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.01112, allocations: 71.77 kB / 331.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.01117, allocations: 29.45 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.01124, allocations: 71.36 kB / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01124, allocations: 0 / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of Templates: time 0.003949/0.01519, allocations: 2.197 MB / 333.4 MB, free: 15.44 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.0249018068425357]