Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 113.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 188.9 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2148/0.2148, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3333, allocations: 60.83 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002762/0.3361, allocations: 1.792 MB / 0.5207 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3375, allocations: 0.9579 MB / 0.5217 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.478e-05/0.3376, allocations: 5.406 kB / 0.5217 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.3382, allocations: 294 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.3386, allocations: 210.2 kB / 0.5221 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.339, allocations: 170.4 kB / 0.5223 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.3393, allocations: 242.7 kB / 0.5225 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.647e-05/0.3393, allocations: 10.5 kB / 0.5225 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.3395, allocations: 131.9 kB / 0.5227 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.3397, allocations: 186.6 kB / 0.5228 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.3398, allocations: 5.656 kB / 0.5228 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3399, allocations: 48.64 kB / 0.5229 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.34, allocations: 129.5 kB / 0.523 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.3401, allocations: 146.1 kB / 0.5232 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.3405, allocations: 363.2 kB / 0.5235 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3405, allocations: 0 / 0.5235 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3405, allocations: 0 / 0.5235 GB, free: 1.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3406, allocations: 0 / 0.5235 GB, free: 1.031 MB / 382.1 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.0008026/0.3414, allocations: 0.714 MB / 0.5242 GB, free: 452 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.3414, allocations: 10.03 kB / 0.5242 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.3415, allocations: 54.84 kB / 0.5243 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.3419, allocations: 444.7 kB / 0.5247 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3419, allocations: 3.875 kB / 0.5247 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.342, allocations: 6.781 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3421, allocations: 86.44 kB / 0.5248 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3422, allocations: 1.469 kB / 0.5248 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3422, allocations: 0.7969 kB / 0.5248 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3422, allocations: 5.625 kB / 0.5248 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3423, allocations: 32.56 kB / 0.5248 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.3427, allocations: 369 kB / 0.5252 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.343, allocations: 102.5 kB / 0.5253 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.56e-05/0.3431, allocations: 43.08 kB / 0.5253 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.3431, allocations: 9.203 kB / 0.5253 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.3433, allocations: 109.1 kB / 0.5254 GB, free: 15.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.3433, allocations: 5.188 kB / 0.5254 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004524/0.3438, allocations: 200.1 kB / 0.5256 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3438, allocations: 79.27 kB / 0.5257 GB, free: 15.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009555/0.3448, allocations: 1.002 MB / 0.5267 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3448, allocations: 31.08 kB / 0.5267 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.345, allocations: 225.5 kB / 0.5269 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.345, allocations: 28.86 kB / 0.5269 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.3451, allocations: 30.55 kB / 0.527 GB, free: 14.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3453, allocations: 368.1 kB / 0.5273 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/0.3454, allocations: 30.89 kB / 0.5274 GB, free: 14.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.483e-05/0.3455, allocations: 55.36 kB / 0.5274 GB, free: 14.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.3456, allocations: 93.88 kB / 0.5275 GB, free: 14.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3456, allocations: 0 / 0.5275 GB, free: 14.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002767/0.3459, allocations: 166.8 kB / 0.5277 GB, free: 14.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3459, allocations: 7.75 kB / 0.5277 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.346, allocations: 1.188 kB / 0.5277 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.346, allocations: 3.188 kB / 0.5277 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3461, allocations: 28.36 kB / 0.5277 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3461, allocations: 1.531 kB / 0.5277 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3462, allocations: 24.95 kB / 0.5277 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3462, allocations: 4.031 kB / 0.5277 GB, free: 14.02 MB / 398.1 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.0002107/0.3465, allocations: 214.5 kB / 0.5279 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.3465, allocations: 57.23 kB / 0.528 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.393e-05/0.3466, allocations: 58.23 kB / 0.528 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.3466, allocations: 5.141 kB / 0.528 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3466, allocations: 1.125 kB / 0.528 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3467, allocations: 0 / 0.528 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.347, allocations: 339.3 kB / 0.5284 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3471, allocations: 4 kB / 0.5284 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.3471, allocations: 11.22 kB / 0.5284 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3471, allocations: 0 / 0.5284 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.3471, allocations: 10.33 kB / 0.5284 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3471, allocations: 0.9375 kB / 0.5284 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3471, allocations: 1.125 kB / 0.5284 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.3475, allocations: 204.2 kB / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.3476, allocations: 132.6 kB / 0.5287 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.3476, allocations: 7.25 kB / 0.5287 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.3477, allocations: 6.797 kB / 0.5287 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.3478, allocations: 7.297 kB / 0.5287 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3478, allocations: 5.344 kB / 0.5287 GB, free: 13.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000797/0.3486, allocations: 0.7496 MB / 0.5295 GB, free: 12.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3486, allocations: 1.281 kB / 0.5295 GB, free: 12.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.3489, allocations: 38.88 kB / 0.5295 GB, free: 12.85 MB / 398.1 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.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009114/0.3498, allocations: 419.5 kB / 0.5299 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.3501, allocations: 79.45 kB / 0.53 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3501, allocations: 4 kB / 0.53 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.845e-05/0.3502, allocations: 39.14 kB / 0.53 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.3506, allocations: 74.77 kB / 0.5301 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.3518, allocations: 0.8414 MB / 0.5309 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.3522, allocations: 0.837 MB / 0.5317 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.3523, allocations: 56.38 kB / 0.5318 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.711e-05/0.3524, allocations: 38.36 kB / 0.5318 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3524, allocations: 0 / 0.5318 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Templates: time 0.008246/0.3607, allocations: 3.793 MB / 0.5355 GB, free: 9.445 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches