Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.001131/0.001131, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001684/0.002814, allocations: 447.8 kB / 10.35 MB, free: 348 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.001112/0.001112, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002598, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9841/0.9841, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1692/1.153, allocations: 49.49 MB / 220.5 MB, free: 5.281 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1292/0.1292, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02924/0.1585, allocations: 12.29 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 267.3 MB, free: 6.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.209e-05, allocations: 6.25 kB / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002537/0.002559, allocations: 1.851 MB / 269.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.003838, allocations: 0.8892 MB / 270 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.003928, allocations: 4 kB / 270 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004654/0.004394, allocations: 311.2 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.004689, allocations: 215.2 kB / 270.5 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.005006, allocations: 135.6 kB / 270.7 MB, free: 3.039 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.005322, allocations: 251.2 kB / 270.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.00538, allocations: 6.469 kB / 270.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.005622, allocations: 208.2 kB / 271.1 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.005808, allocations: 171.7 kB / 271.3 MB, free: 2.418 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.005832, allocations: 4 kB / 271.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.005941, allocations: 43.98 kB / 271.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.006053, allocations: 131.6 kB / 271.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.751e-05/0.00613, allocations: 55.75 kB / 271.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.006423, allocations: 282.8 kB / 271.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.083e-05/0.006443, allocations: 0 / 271.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.006445, allocations: 0 / 271.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.006465, allocations: 0 / 271.8 MB, free: 1.91 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007757/0.007241, allocations: 0.6769 MB / 272.5 MB, free: 1.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.007277, allocations: 8.031 kB / 272.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.823e-05/0.007355, allocations: 32.91 kB / 272.5 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.00767, allocations: 301.8 kB / 272.8 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.007694, allocations: 8.375 kB / 272.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.007706, allocations: 384 / 272.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.007909, allocations: 91.44 kB / 272.9 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.007922, allocations: 7.938 kB / 272.9 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.007934, allocations: 0 / 272.9 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.007941, allocations: 0 / 272.9 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.074e-05/0.007992, allocations: 21.58 kB / 272.9 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.008233, allocations: 126.3 kB / 273.1 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.008407, allocations: 78.84 kB / 273.1 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.008447, allocations: 25.72 kB / 273.2 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.008466, allocations: 0 / 273.2 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.008669, allocations: 103.8 kB / 273.3 MB, free: 316 kB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.00867, allocations: 0 / 273.3 MB, free: 316 kB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002917/0.008962, allocations: 111.6 kB / 273.4 MB, free: 196 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.009049, allocations: 81.05 kB / 273.5 MB, free: 96 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/0.009573, allocations: 0.5946 MB / 274.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.009593, allocations: 29.7 kB / 274.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.009656, allocations: 141.3 kB / 274.2 MB, free: 15.31 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.009708, allocations: 35.77 kB / 274.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.009754, allocations: 25.7 kB / 274.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.009874, allocations: 366.7 kB / 274.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.111e-05/0.009905, allocations: 14.83 kB / 274.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/0.009943, allocations: 43.34 kB / 274.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.245e-05/0.01003, allocations: 71.89 kB / 274.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01003, allocations: 0 / 274.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001213/0.01015, allocations: 107.2 kB / 274.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01017, allocations: 4 kB / 274.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.01017, allocations: 4 kB / 274.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.01018, allocations: 0 / 274.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.01029, allocations: 31.86 kB / 274.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.01029, allocations: 0 / 274.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.01035, allocations: 19.94 kB / 274.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.01036, allocations: 0 / 274.9 MB, free: 14.55 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0001129/0.01047, allocations: 128.6 kB / 275.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.01052, allocations: 35.95 kB / 275.1 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.01069, allocations: 113.7 kB / 275.2 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01069, allocations: 4.25 kB / 275.2 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.0107, allocations: 3.938 kB / 275.2 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.01071, allocations: 7.984 kB / 275.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.0109, allocations: 165.7 kB / 275.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.0109, allocations: 0 / 275.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.01094, allocations: 12 kB / 275.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.01099, allocations: 51.66 kB / 275.4 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01099, allocations: 0 / 275.4 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.011, allocations: 8 kB / 275.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.011, allocations: 7.922 kB / 275.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01101, allocations: 3.938 kB / 275.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.01113, allocations: 130.4 kB / 275.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.01116, allocations: 4 kB / 275.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.724e-05/0.01121, allocations: 11.98 kB / 275.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.01124, allocations: 7.984 kB / 275.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.01126, allocations: 7.938 kB / 275.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002191/0.01148, allocations: 311.2 kB / 275.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01148, allocations: 0 / 275.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.0117, allocations: 55.92 kB / 276 MB, free: 13.43 MB / 282.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001589/0.01329, allocations: 0.5546 MB / 276.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.01345, allocations: 52.77 kB / 276.6 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.065e-05/0.01347, allocations: 4 kB / 276.6 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.83e-05/0.01352, allocations: 36.78 kB / 276.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.0138, allocations: 94.77 kB / 276.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.01476, allocations: 0.6522 MB / 277.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.851e-05/0.01485, allocations: 128.2 kB / 277.5 MB, free: 11.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.22e-05/0.01492, allocations: 46.92 kB / 277.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.01503, allocations: 99.36 kB / 277.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01503, allocations: 0 / 277.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of Templates: time 0.006879/0.02191, allocations: 4.309 MB / 281.9 MB, free: 7.387 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.0482209799811244]