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.001399/0.001399, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00166/0.001661, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2588/0.2588, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 76.11 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5271/0.5286, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004519/0.5331, allocations: 1.83 MB / 0.5328 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.5356, allocations: 1.094 MB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.5358, allocations: 1.375 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.5365, allocations: 294.5 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006362/0.5372, allocations: 253.4 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.5376, allocations: 109.2 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.5381, allocations: 257.3 kB / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.5382, allocations: 21.44 kB / 0.5348 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003224/0.5385, allocations: 127.5 kB / 0.5349 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003706/0.5389, allocations: 188.6 kB / 0.5351 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.539, allocations: 7.406 kB / 0.5351 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.5392, allocations: 50.8 kB / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.5394, allocations: 136.3 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.5396, allocations: 143.5 kB / 0.5354 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006482/0.5402, allocations: 374.3 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5402, allocations: 0 / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5403, allocations: 0 / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.5403, allocations: 4.75 kB / 0.5358 GB, free: 10.2 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.001214/0.5415, allocations: 0.7482 MB / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.5416, allocations: 9.562 kB / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.55e-05/0.5417, allocations: 50.67 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.5424, allocations: 456.6 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5424, allocations: 2.531 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.5424, allocations: 11.12 kB / 0.537 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.5427, allocations: 87.95 kB / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5427, allocations: 0 / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.5427, allocations: 5.125 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.5427, allocations: 5.062 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.5428, allocations: 23.3 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.5433, allocations: 375.7 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.5436, allocations: 109.6 kB / 0.5376 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.5437, allocations: 42.45 kB / 0.5376 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.5437, allocations: 5 kB / 0.5377 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.544, allocations: 116.4 kB / 0.5378 GB, free: 8.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 4.158e-06/0.544, allocations: 3.984 kB / 0.5378 GB, free: 8.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005171/0.5445, allocations: 200.9 kB / 0.538 GB, free: 8.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.5446, allocations: 82.8 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.5457, allocations: 1.022 MB / 0.539 GB, free: 7.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.5458, allocations: 31.72 kB / 0.5391 GB, free: 7.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.546, allocations: 230.3 kB / 0.5393 GB, free: 7.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.546, allocations: 31.81 kB / 0.5393 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.5461, allocations: 26.89 kB / 0.5393 GB, free: 7.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.5463, allocations: 368.4 kB / 0.5397 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.321e-05/0.5464, allocations: 27.33 kB / 0.5397 GB, free: 7.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.5465, allocations: 66.45 kB / 0.5398 GB, free: 7.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.5467, allocations: 87.84 kB / 0.5399 GB, free: 7.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5467, allocations: 0 / 0.5399 GB, free: 7.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003249/0.547, allocations: 178.1 kB / 0.54 GB, free: 6.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.547, allocations: 10.12 kB / 0.54 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5471, allocations: 1.188 kB / 0.54 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5471, allocations: 1.25 kB / 0.54 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.5472, allocations: 21.58 kB / 0.5401 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.5472, allocations: 2.344 kB / 0.5401 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.454e-05/0.5473, allocations: 12.56 kB / 0.5401 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.5473, allocations: 7.531 kB / 0.5401 GB, free: 6.898 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.00023/0.5476, allocations: 225.2 kB / 0.5403 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.5476, allocations: 53.59 kB / 0.5404 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.954e-05/0.5477, allocations: 65.84 kB / 0.5404 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5477, allocations: 1.531 kB / 0.5404 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5478, allocations: 1.5 kB / 0.5404 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5478, allocations: 0 / 0.5404 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.5481, allocations: 344.2 kB / 0.5407 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5482, allocations: 1.438 kB / 0.5408 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.5482, allocations: 9.875 kB / 0.5408 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5482, allocations: 1.125 kB / 0.5408 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.5482, allocations: 2.25 kB / 0.5408 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.5482, allocations: 5.141 kB / 0.5408 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5482, allocations: 9.062 kB / 0.5408 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.5486, allocations: 204.1 kB / 0.541 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.5487, allocations: 138.6 kB / 0.5411 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.159e-05/0.5488, allocations: 10.41 kB / 0.5411 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.5489, allocations: 10.33 kB / 0.5411 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.5489, allocations: 8.969 kB / 0.5411 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.549, allocations: 11.89 kB / 0.5411 GB, free: 6.047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000938/0.5499, allocations: 0.7607 MB / 0.5419 GB, free: 5.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5499, allocations: 0 / 0.5419 GB, free: 5.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.5502, allocations: 44.44 kB / 0.5419 GB, free: 5.688 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.001035/0.5513, allocations: 395 kB / 0.5423 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.5516, allocations: 82.77 kB / 0.5424 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5516, allocations: 5.219 kB / 0.5424 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.5517, allocations: 42.55 kB / 0.5424 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.5522, allocations: 86.58 kB / 0.5425 GB, free: 5.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.5537, allocations: 0.854 MB / 0.5433 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000739/0.5545, allocations: 0.8466 MB / 0.5442 GB, free: 3.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.5546, allocations: 58.88 kB / 0.5442 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.5547, allocations: 27.44 kB / 0.5443 GB, free: 3.871 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5547, allocations: 3.938 kB / 0.5443 GB, free: 3.867 MB / 398.1 MB Notification: Performance of Templates: time 0.009373/0.5641, allocations: 3.743 MB / 0.5479 GB, free: 140 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