Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.00142/0.00142, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001737/0.001737, allocations: 165 kB / 24.56 MB, free: 16 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.066/1.066, allocations: 177.1 MB / 205 MB, free: 5.574 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.2795/0.2795, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.07e-05, allocations: 6.312 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002777/0.002808, allocations: 1.958 MB / 378 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.00422, allocations: 1.044 MB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.004325, allocations: 7.875 kB / 379.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.004649, allocations: 39.64 kB / 379.1 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.004971, allocations: 111.4 kB / 379.2 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.005201, allocations: 95.64 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.005401, allocations: 151.5 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.00551, allocations: 17.8 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.00561, allocations: 75.81 kB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.423e-05/0.005704, allocations: 35.83 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.005724, allocations: 8 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.078e-05/0.005815, allocations: 51.86 kB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.005875, allocations: 31.84 kB / 379.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.005926, allocations: 31.91 kB / 379.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.00614, allocations: 131.5 kB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006142, allocations: 3.938 kB / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006143, allocations: 0 / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.006148, allocations: 0 / 379.9 MB, free: 0.7734 MB / 346.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.0005584/0.006707, allocations: 0.4974 MB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.006744, allocations: 8.031 kB / 380.4 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.0068, allocations: 28.8 kB / 380.4 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.007, allocations: 165.2 kB / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.007021, allocations: 8.375 kB / 380.6 MB, free: 0 / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.007067, allocations: 12.42 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.007263, allocations: 142.9 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.007272, allocations: 3.938 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.007287, allocations: 8 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.007294, allocations: 0 / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/0.00735, allocations: 31.91 kB / 380.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.007822, allocations: 0.5833 MB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.008022, allocations: 79.09 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.008059, allocations: 19.69 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.008077, allocations: 7.984 kB / 381.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.00819, allocations: 98.75 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.008192, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002134/0.008405, allocations: 113.5 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.008432, allocations: 51.41 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.00858, allocations: 247 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.008599, allocations: 29.7 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.008674, allocations: 174.7 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.008695, allocations: 31.73 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.008733, allocations: 35.36 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.008858, allocations: 0.5 MB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.066e-05/0.008888, allocations: 11.98 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.801e-05/0.008936, allocations: 66.42 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.079e-05/0.009017, allocations: 78.36 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.00902, allocations: 4 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001347/0.009155, allocations: 117.5 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.009169, allocations: 10.19 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.009174, allocations: 0 / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.00919, allocations: 3.938 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.009254, allocations: 23.98 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.00926, allocations: 0 / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.009295, allocations: 11.94 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.009304, allocations: 8.125 kB / 383 MB, free: 13.3 MB / 362.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 8.447e-05/0.009389, allocations: 176.4 kB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.009407, allocations: 15.91 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.009555, allocations: 103.1 kB / 383.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.009558, allocations: 4 kB / 383.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.009561, allocations: 0 / 383.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.009564, allocations: 0 / 383.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.009672, allocations: 160.5 kB / 383.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.009673, allocations: 4 kB / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.009723, allocations: 16 kB / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.009726, allocations: 0 / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.009738, allocations: 11.98 kB / 383.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.00974, allocations: 0 / 383.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.009741, allocations: 0 / 383.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.009912, allocations: 156.8 kB / 383.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.009931, allocations: 19.83 kB / 383.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.009948, allocations: 4 kB / 383.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.845e-05/0.009976, allocations: 4 kB / 383.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.01002, allocations: 7.984 kB / 383.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.01003, allocations: 7.938 kB / 383.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.623e-05/0.01012, allocations: 175.1 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01012, allocations: 4.031 kB / 383.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.01028, allocations: 24 kB / 383.9 MB, free: 12.36 MB / 362.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.0009347/0.01121, allocations: 398.6 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.01135, allocations: 55.61 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01135, allocations: 0 / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.463e-05/0.01139, allocations: 35.61 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.01161, allocations: 47.64 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005466/0.01216, allocations: 250 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.941e-05/0.0122, allocations: 71.83 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.331e-05/0.01224, allocations: 17.73 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.01227, allocations: 16.5 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01227, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of Templates: time 0.003904/0.01618, allocations: 2.069 MB / 386.9 MB, free: 9.523 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.54173626517877]