Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001094, allocations: 107.4 kB / 18.45 MB, free: 4.641 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.001074/0.001074, allocations: 186.2 kB / 19.38 MB, free: 3.719 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.373/1.373, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2106/0.2106, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4237, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002961/0.4267, allocations: 1.799 MB / 0.5214 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.4282, allocations: 0.9569 MB / 0.5223 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.048e-05/0.4283, allocations: 9.219 kB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.4289, allocations: 299.6 kB / 0.5226 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.4294, allocations: 217.6 kB / 0.5228 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.4298, allocations: 168.3 kB / 0.523 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.4302, allocations: 243.4 kB / 0.5232 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.4303, allocations: 10.73 kB / 0.5232 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.4305, allocations: 129.2 kB / 0.5233 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.4307, allocations: 189.7 kB / 0.5235 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.4308, allocations: 5.938 kB / 0.5235 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.4309, allocations: 54.16 kB / 0.5236 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.4311, allocations: 129.2 kB / 0.5237 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.4312, allocations: 146.6 kB / 0.5239 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.4317, allocations: 368 kB / 0.5242 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4317, allocations: 0.5156 kB / 0.5242 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4317, allocations: 0 / 0.5242 GB, free: 1.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.4317, allocations: 1.375 kB / 0.5242 GB, free: 1.035 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.0009607/0.4327, allocations: 0.7179 MB / 0.5249 GB, free: 452 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4327, allocations: 13.62 kB / 0.5249 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.308e-05/0.4328, allocations: 50.83 kB / 0.525 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006211/0.4335, allocations: 457.2 kB / 0.5254 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4335, allocations: 2.594 kB / 0.5254 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.4335, allocations: 10.88 kB / 0.5254 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.4337, allocations: 86.66 kB / 0.5255 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.4338, allocations: 0.75 kB / 0.5255 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4338, allocations: 1.375 kB / 0.5255 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4338, allocations: 5.375 kB / 0.5255 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.4339, allocations: 29.69 kB / 0.5255 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.4345, allocations: 377.8 kB / 0.5259 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.4348, allocations: 105.6 kB / 0.526 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.4349, allocations: 46.5 kB / 0.526 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.4349, allocations: 2.078 kB / 0.526 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.4352, allocations: 105.2 kB / 0.5261 GB, free: 15.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.4352, allocations: 4 kB / 0.5261 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005473/0.4357, allocations: 197.4 kB / 0.5263 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.4358, allocations: 80.14 kB / 0.5264 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.4371, allocations: 1.031 MB / 0.5274 GB, free: 14.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.4371, allocations: 32.12 kB / 0.5274 GB, free: 14.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.4373, allocations: 233.6 kB / 0.5277 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.4374, allocations: 28.23 kB / 0.5277 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.4375, allocations: 34.7 kB / 0.5277 GB, free: 14.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4376, allocations: 369.5 kB / 0.5281 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.55e-05/0.4377, allocations: 31.33 kB / 0.5281 GB, free: 14.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.452e-05/0.4378, allocations: 50.11 kB / 0.5282 GB, free: 14.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.438, allocations: 98.56 kB / 0.5283 GB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.438, allocations: 1.688 kB / 0.5283 GB, free: 14.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002957/0.4383, allocations: 168.6 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4384, allocations: 6.594 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4384, allocations: 0 / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.4384, allocations: 2.406 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.4385, allocations: 24.98 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.4386, allocations: 2.219 kB / 0.5285 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.4387, allocations: 20.64 kB / 0.5285 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.4387, allocations: 3.812 kB / 0.5285 GB, free: 14 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.0002254/0.4389, allocations: 229.3 kB / 0.5287 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.439, allocations: 49.28 kB / 0.5287 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.799e-05/0.4391, allocations: 58.47 kB / 0.5288 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4391, allocations: 1.75 kB / 0.5288 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4391, allocations: 1.25 kB / 0.5288 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4391, allocations: 0 / 0.5288 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.4395, allocations: 348.7 kB / 0.5291 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4395, allocations: 1.219 kB / 0.5291 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.4396, allocations: 9.781 kB / 0.5291 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4396, allocations: 5.234 kB / 0.5291 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.4396, allocations: 6.156 kB / 0.5292 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4396, allocations: 5.156 kB / 0.5292 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4396, allocations: 0 / 0.5292 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.44, allocations: 208.1 kB / 0.5294 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.4401, allocations: 138.7 kB / 0.5295 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.4402, allocations: 5.594 kB / 0.5295 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.4403, allocations: 3.594 kB / 0.5295 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.4403, allocations: 9.047 kB / 0.5295 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.4403, allocations: 4.344 kB / 0.5295 GB, free: 13.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001038/0.4414, allocations: 0.7705 MB / 0.5303 GB, free: 12.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4414, allocations: 0 / 0.5303 GB, free: 12.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.4417, allocations: 40.03 kB / 0.5303 GB, free: 12.82 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.001125/0.4428, allocations: 425.1 kB / 0.5307 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.4431, allocations: 84.09 kB / 0.5308 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4431, allocations: 0 / 0.5308 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.4432, allocations: 38.59 kB / 0.5308 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.4437, allocations: 79.98 kB / 0.5309 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.4451, allocations: 0.9044 MB / 0.5318 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.4457, allocations: 0.84 MB / 0.5326 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.4458, allocations: 34.02 kB / 0.5326 GB, free: 11.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4458, allocations: 0 / 0.5326 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Templates: time 0.009398/0.4552, allocations: 5.08 MB / 0.5376 GB, free: 8.586 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches