Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001805/0.001805, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2386/0.2386, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 84.2 kB / 481.4 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4211, allocations: 62.43 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00402/0.4252, allocations: 1.832 MB / 0.5328 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.4274, allocations: 1.09 MB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.4276, allocations: 5.656 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006554/0.4282, allocations: 295 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005633/0.4288, allocations: 258 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.4291, allocations: 100.4 kB / 0.5345 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.4295, allocations: 257.7 kB / 0.5348 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.786e-05/0.4296, allocations: 21.86 kB / 0.5348 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.4298, allocations: 133.4 kB / 0.5349 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.43, allocations: 192.2 kB / 0.5351 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.4301, allocations: 7.312 kB / 0.5351 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.4302, allocations: 46.27 kB / 0.5352 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.4304, allocations: 134.3 kB / 0.5353 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.4306, allocations: 150.8 kB / 0.5354 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.4311, allocations: 370.1 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4311, allocations: 0 / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4311, allocations: 4 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.4311, allocations: 0.9688 kB / 0.5358 GB, free: 10.23 MB / 398.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.001083/0.4322, allocations: 0.7301 MB / 0.5365 GB, free: 9.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.4322, allocations: 13.09 kB / 0.5365 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.993e-05/0.4323, allocations: 51.03 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.4331, allocations: 444 kB / 0.537 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.4331, allocations: 2.562 kB / 0.537 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.4331, allocations: 7.656 kB / 0.537 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.4333, allocations: 91.84 kB / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4334, allocations: 0 / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.4334, allocations: 1.469 kB / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4334, allocations: 0 / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.4335, allocations: 32.39 kB / 0.5371 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.434, allocations: 371.4 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.4343, allocations: 109.7 kB / 0.5376 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.4344, allocations: 49.89 kB / 0.5376 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.4344, allocations: 5.547 kB / 0.5376 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/0.4347, allocations: 114.9 kB / 0.5377 GB, free: 8.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.4347, allocations: 1.188 kB / 0.5377 GB, free: 8.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005358/0.4352, allocations: 196.5 kB / 0.5379 GB, free: 8.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.4353, allocations: 87.22 kB / 0.538 GB, free: 8.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.4367, allocations: 1.027 MB / 0.539 GB, free: 7.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.4368, allocations: 27.14 kB / 0.539 GB, free: 7.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.437, allocations: 233.3 kB / 0.5393 GB, free: 7.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.437, allocations: 24.55 kB / 0.5393 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.4371, allocations: 26.53 kB / 0.5393 GB, free: 7.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.4373, allocations: 373.5 kB / 0.5397 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.631e-05/0.4374, allocations: 27.39 kB / 0.5397 GB, free: 7.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.4375, allocations: 61.08 kB / 0.5398 GB, free: 7.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.4378, allocations: 94.94 kB / 0.5398 GB, free: 7.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4378, allocations: 0 / 0.5398 GB, free: 7.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000439/0.4382, allocations: 170.5 kB / 0.54 GB, free: 6.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.4383, allocations: 10.03 kB / 0.54 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.4383, allocations: 0.75 kB / 0.54 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.4383, allocations: 2.219 kB / 0.54 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.4385, allocations: 25.17 kB / 0.54 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4385, allocations: 1.438 kB / 0.54 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.4387, allocations: 17.08 kB / 0.5401 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.4387, allocations: 8.031 kB / 0.5401 GB, free: 6.965 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.0003055/0.439, allocations: 223.1 kB / 0.5403 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.921e-05/0.4391, allocations: 50.72 kB / 0.5403 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.4392, allocations: 58.47 kB / 0.5404 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.4393, allocations: 1.094 kB / 0.5404 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.4393, allocations: 5.172 kB / 0.5404 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4393, allocations: 0 / 0.5404 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.4397, allocations: 348.4 kB / 0.5407 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4397, allocations: 1.062 kB / 0.5407 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.4398, allocations: 10.97 kB / 0.5407 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.4398, allocations: 5.219 kB / 0.5407 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.4398, allocations: 1.188 kB / 0.5407 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4398, allocations: 1.125 kB / 0.5407 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.4398, allocations: 5.25 kB / 0.5407 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.4402, allocations: 203.7 kB / 0.5409 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.4404, allocations: 142.3 kB / 0.5411 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.4405, allocations: 6.562 kB / 0.5411 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.4405, allocations: 2.75 kB / 0.5411 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.4406, allocations: 11.86 kB / 0.5411 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.4407, allocations: 8.844 kB / 0.5411 GB, free: 6.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001076/0.4417, allocations: 0.7642 MB / 0.5419 GB, free: 5.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4417, allocations: 0 / 0.5419 GB, free: 5.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.442, allocations: 40.41 kB / 0.5419 GB, free: 5.77 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.001026/0.4431, allocations: 402.6 kB / 0.5423 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000276/0.4434, allocations: 86.73 kB / 0.5424 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4434, allocations: 0 / 0.5424 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.4435, allocations: 43.61 kB / 0.5424 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.444, allocations: 80.94 kB / 0.5425 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.4454, allocations: 0.8558 MB / 0.5433 GB, free: 4.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.446, allocations: 0.8388 MB / 0.5441 GB, free: 4.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.4461, allocations: 58.94 kB / 0.5442 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.4462, allocations: 31.44 kB / 0.5442 GB, free: 3.957 MB / 398.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4462, allocations: 0 / 0.5442 GB, free: 3.957 MB / 398.1 MB Notification: Performance of Templates: time 0.009053/0.4553, allocations: 3.751 MB / 0.5479 GB, free: 228 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches