Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009795/0.0009795, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001241/0.001241, allocations: 164 kB / 25.61 MB, free: 8.492 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.9409/0.9409, allocations: 177.1 MB / 206 MB, free: 4.508 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.1583/0.1583, allocations: 34.25 MB / 296.8 MB, free: 13.91 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.866e-05, allocations: 2.312 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002022/0.002041, allocations: 1.931 MB / 381.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.003119, allocations: 1.029 MB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.812e-05/0.003217, allocations: 3.938 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.003483, allocations: 47.7 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.003728, allocations: 103.4 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.0039, allocations: 103.6 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.004043, allocations: 147.5 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.004134, allocations: 21.75 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.159e-05/0.004215, allocations: 75.8 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.004296, allocations: 43.83 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.004312, allocations: 4 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.061e-05/0.004383, allocations: 47.92 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.004429, allocations: 39.83 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.004463, allocations: 23.94 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.004624, allocations: 127.5 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.004627, allocations: 0 / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004627, allocations: 0 / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.004631, allocations: 0 / 383.1 MB, free: 19.56 MB / 314.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.0003709/0.005002, allocations: 0.5013 MB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.005033, allocations: 8.031 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.00507, allocations: 20.84 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.005211, allocations: 185 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.005228, allocations: 12.38 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.005251, allocations: 8.359 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.005386, allocations: 135.7 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.005395, allocations: 11.86 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.005403, allocations: 0 / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.005409, allocations: 4 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.283e-05/0.005442, allocations: 19.97 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.005717, allocations: 0.5566 MB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.005861, allocations: 63.16 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.005886, allocations: 31.59 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.005898, allocations: 4 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.266e-05/0.005981, allocations: 86.75 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.005982, allocations: 0 / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001502/0.006132, allocations: 109.5 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.585e-05/0.006148, allocations: 51.41 kB / 384.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.006237, allocations: 244.9 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.006247, allocations: 33.7 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.006292, allocations: 166.7 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.006307, allocations: 27.78 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.006338, allocations: 39.34 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.006378, allocations: 0.5039 MB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.006397, allocations: 11.98 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.006425, allocations: 58.36 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/0.006476, allocations: 86.3 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.006478, allocations: 0 / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.659e-05/0.006575, allocations: 113.7 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.006585, allocations: 4 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.00659, allocations: 0 / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.936e-06/0.006598, allocations: 4 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.09e-05/0.006659, allocations: 23.92 kB / 386.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.006662, allocations: 4 kB / 386.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.006696, allocations: 16.06 kB / 386.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.006701, allocations: 4 kB / 386.2 MB, free: 16.16 MB / 314.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 4.913e-05/0.00675, allocations: 168.5 kB / 386.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.006767, allocations: 15.91 kB / 386.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.006872, allocations: 107 kB / 386.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006874, allocations: 0 / 386.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.006875, allocations: 0 / 386.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.006878, allocations: 0 / 386.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.956e-05/0.006948, allocations: 137.1 kB / 386.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006949, allocations: 0 / 386.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.006992, allocations: 19.94 kB / 386.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.006993, allocations: 0 / 386.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.007001, allocations: 7.984 kB / 386.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.007003, allocations: 8 kB / 386.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007004, allocations: 0 / 386.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.007128, allocations: 144.2 kB / 386.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.007144, allocations: 19.89 kB / 386.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.007159, allocations: 4 kB / 386.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.737e-05/0.007186, allocations: 4 kB / 386.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.007215, allocations: 7.984 kB / 386.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.007227, allocations: 8.031 kB / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.455e-05/0.007271, allocations: 163.1 kB / 387 MB, free: 15.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007271, allocations: 0 / 387 MB, free: 15.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.00743, allocations: 27.94 kB / 387 MB, free: 15.26 MB / 314.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.0007609/0.008191, allocations: 397.2 kB / 387.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.008293, allocations: 55.55 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.008294, allocations: 0 / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.008326, allocations: 35.78 kB / 387.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.008513, allocations: 48.64 kB / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.008793, allocations: 254.1 kB / 387.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.206e-05/0.008815, allocations: 75.83 kB / 387.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.861e-05/0.008854, allocations: 13.48 kB / 387.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.008916, allocations: 106.2 kB / 388 MB, free: 14.39 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.008917, allocations: 0 / 388 MB, free: 14.39 MB / 314.7 MB Notification: Performance of Templates: time 0.003457/0.01237, allocations: 2.275 MB / 390.3 MB, free: 12.15 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9648917010053992]