Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ShowExceptions.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) 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(Modelica.StateGraph.Examples.ShowExceptions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|compositeStep.compositeStep11.transition.enableFire|compositeStep.compositeStep12.transition.enableFire|compositeStep.transition1.enableFire|compositeStep.transition2.enableFire|compositeStep.transition3.enableFire|compositeStep.transition4.enableFire|transition1.enableFire|transition2.enableFire|transition3.enableFire|transition4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ShowExceptions") translateModel(Modelica.StateGraph.Examples.ShowExceptions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|compositeStep.compositeStep11.transition.enableFire|compositeStep.compositeStep12.transition.enableFire|compositeStep.transition1.enableFire|compositeStep.transition2.enableFire|compositeStep.transition3.enableFire|compositeStep.transition4.enableFire|transition1.enableFire|transition2.enableFire|transition3.enableFire|transition4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ShowExceptions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001682/0.001682, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001812/0.001812, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3863, allocations: 50.53 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowExceptions): time 0.003702/0.39, allocations: 2.726 MB / 412.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3922, allocations: 1.259 MB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002606/0.3925, allocations: 27.88 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.3928, allocations: 142.4 kB / 414.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.3932, allocations: 102.9 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.3945, allocations: 0.71 MB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.396, allocations: 1.612 MB / 416.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.3972, allocations: 1.047 MB / 417.5 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.3976, allocations: 0.5141 MB / 418 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004872/0.3981, allocations: 0.5212 MB / 418.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.3983, allocations: 164 kB / 418.7 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.3985, allocations: 175.9 kB / 418.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.3988, allocations: 343.1 kB / 419.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004264/0.3992, allocations: 0.5677 MB / 419.8 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.4005, allocations: 1.717 MB / 421.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4005, allocations: 0 / 421.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4006, allocations: 0 / 421.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.4006, allocations: 0 / 421.5 MB, free: 5.918 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 299 * Number of variables: 299 Notification: Performance of Generate backend data structure: time 0.001851/0.4024, allocations: 1.276 MB / 422.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4025, allocations: 16.03 kB / 422.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.4036, allocations: 167.6 kB / 423 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007989/0.4044, allocations: 0.5699 MB / 423.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.516e-05/0.4045, allocations: 110.7 kB / 423.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.4046, allocations: 132.4 kB / 423.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.4066, allocations: 1.268 MB / 425 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.4066, allocations: 3.938 kB / 425 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/0.4067, allocations: 51.98 kB / 425.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.4068, allocations: 28 kB / 425.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.4083, allocations: 0.9257 MB / 426 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005073/0.4134, allocations: 4.516 MB / 430.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.4146, allocations: 0.8204 MB / 431.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005602/0.4152, allocations: 430.1 kB / 431.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-05/0.4153, allocations: 16.98 kB / 431.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000759/0.416, allocations: 0.5061 MB / 432.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=107): time 4.498e-06/0.416, allocations: 0 / 432.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.001703/0.4177, allocations: 0.9901 MB / 433.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/0.4179, allocations: 183.2 kB / 433.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.4183, allocations: 407.4 kB / 433.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.4184, allocations: 89.69 kB / 434 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.4187, allocations: 381.1 kB / 434.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.419, allocations: 280.4 kB / 434.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003895/0.4194, allocations: 319.5 kB / 434.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4195, allocations: 326 kB / 435.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005877/0.4201, allocations: 339.9 kB / 435.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007921/0.4209, allocations: 0.6563 MB / 436.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.4221, allocations: 0.8795 MB / 437.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.4221, allocations: 4 kB / 437.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.001711/0.4238, allocations: 1.086 MB / 438.2 MB, free: 4.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.4239, allocations: 8 kB / 438.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4239, allocations: 12 kB / 438.2 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.4239, allocations: 16 kB / 438.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.4244, allocations: 147.5 kB / 438.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-05/0.4245, allocations: 28.48 kB / 438.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.4249, allocations: 118.8 kB / 438.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.425, allocations: 56 kB / 438.6 MB, free: 4.043 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 141 ($PRE.compositeStep.transition1.enableFire,$PRE.compositeStep.compositeStep11.transition.enableFire,$PRE.compositeStep.compositeStep12.transition.enableFire,$PRE.compositeStep.transition2.enableFire,$PRE.compositeStep.transition3.enableFire,$PRE.compositeStep.transition4.enableFire,$PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,compositeStep.transition1.t_start,$PRE.compositeStep.transition1.t_start,stateGraphRoot.activeSteps,transition4.t_start,$PRE.transition4.t_start,transition4.fire,transition4.enableFire,step1.oldActive,$PRE.step1.oldActive,step1.newActive,$PRE.step1.newActive,step1.localActive,$PRE.step1.localActive,step1.active,transition3.t_start,$PRE.transition3.t_start,transition3.fire,transition3.enableFire,transition2.t_start,$PRE.transition2.t_start,transition2.fire,transition2.enableFire,transition1.t_start,$PRE.transition1.t_start,transition1.fire,transition1.enableFire,initialStep.oldActive,$PRE.initialStep.oldActive,initialStep.newActive,$PRE.initialStep.newActive,initialStep.localActive,$PRE.initialStep.localActive,initialStep.active,compositeStep.Alternative1.split[2].available,compositeStep.transition4.enableFire,compositeStep.transition3.enableFire,compositeStep.transition2.enableFire,compositeStep.transition2.localCondition,compositeStep.compositeStep12.exitStep.oldActive,$PRE.compositeStep.compositeStep12.exitStep.oldActive,compositeStep.compositeStep12.exitStep.newActive,$PRE.compositeStep.compositeStep12.exitStep.newActive,compositeStep.compositeStep12.exitStep.localActive,$PRE.compositeStep.compositeStep12.exitStep.localActive,compositeStep.compositeStep12.exitStep.active,compositeStep.compositeStep12.initStep.oldActive,$PRE.compositeStep.compositeStep12.initStep.oldActive,compositeStep.compositeStep12.initStep.newActive,$PRE.compositeStep.compositeStep12.initStep.newActive,compositeStep.compositeStep12.initStep.localActive,$PRE.compositeStep.compositeStep12.initStep.localActive,compositeStep.compositeStep12.initStep.active,compositeStep.compositeStep12.transition.t_start,$PRE.compositeStep.compositeStep12.transition.t_start,compositeStep.compositeStep12.transition.fire,compositeStep.compositeStep12.transition.enableFire,compositeStep.compositeStep12.activeSteps,compositeStep.compositeStep12.newActive,$PRE.compositeStep.compositeStep12.newActive,compositeStep.compositeStep12.active,compositeStep.compositeStep11.exitStep.oldActive,$PRE.compositeStep.compositeStep11.exitStep.oldActive,compositeStep.compositeStep11.exitStep.newActive,$PRE.compositeStep.compositeStep11.exitStep.newActive,compositeStep.compositeStep11.exitStep.localActive,$PRE.compositeStep.compositeStep11.exitStep.localActive,compositeStep.compositeStep11.exitStep.active,compositeStep.compositeStep11.initStep.oldActive,$PRE.compositeStep.compositeStep11.initStep.oldActive,compositeStep.compositeStep11.initStep.newActive,$PRE.compositeStep.compositeStep11.initStep.newActive,compositeStep.compositeStep11.initStep.localActive,$PRE.compositeStep.compositeStep11.initStep.localActive,compositeStep.compositeStep11.initStep.active,compositeStep.compositeStep11.transition.t_start,$PRE.compositeStep.compositeStep11.transition.t_start,compositeStep.compositeStep11.transition.fire,compositeStep.compositeStep11.transition.enableFire,compositeStep.compositeStep11.activeSteps,compositeStep.compositeStep11.newActive,$PRE.compositeStep.compositeStep11.newActive,compositeStep.compositeStep11.active,compositeStep.exitStep.oldActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.localActive,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.active,compositeStep.initStep.oldActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.localActive,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.active,compositeStep.transition1.enableFire,compositeStep.transition1.localCondition,compositeStep.activeSteps,compositeStep.newActive,$PRE.compositeStep.newActive,compositeStep.active,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,compositeStep.transition2.t_start,$PRE.compositeStep.transition2.t_start,compositeStep.transition3.t_start,$PRE.compositeStep.transition3.t_start,compositeStep.transition4.t_start,$PRE.compositeStep.transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition4.condition,transition3.condition,transition2.condition,transition1.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,compositeStep.compositeStep12.transition.condition,compositeStep.compositeStep11.transition.condition,compositeStep.compositeStep12.resume[1].set,compositeStep.compositeStep12.suspend[1].reset,compositeStep.compositeStep11.resume[1].set,compositeStep.compositeStep11.suspend[1].reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 180 * 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.0005673/0.4255, allocations: 409.1 kB / 439 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.4257, allocations: 63.28 kB / 439.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.4258, allocations: 69.5 kB / 439.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.4258, allocations: 7.922 kB / 439.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4258, allocations: 8 kB / 439.1 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.426, allocations: 136.2 kB / 439.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.981e-05/0.4261, allocations: 28 kB / 439.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.4263, allocations: 31.97 kB / 439.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.4266, allocations: 116.9 kB / 439.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001641/0.4283, allocations: 1.19 MB / 440.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001368/0.4296, allocations: 1.214 MB / 441.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006168/0.4303, allocations: 423.8 kB / 442.3 MB, free: 312 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002044/0.4305, allocations: 195.1 kB / 442.5 MB, free: 120 kB / 350.1 MB Notification: Performance of Backend: time 5.01e-07/0.4305, allocations: 0 / 442.5 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.4324, allocations: 0.7091 MB / 443.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of SimCode: time 0.002477/0.4349, allocations: 1.644 MB / 444.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of Templates: time 0.0182/0.4531, allocations: 8.95 MB / 453.8 MB, free: 4.809 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ShowExceptions.makefile (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ShowExceptions.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ShowExceptions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ShowExceptions.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ShowExceptions.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.ShowExceptions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ShowExceptions.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ShowExceptions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ShowExceptions/ShowExceptions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ShowExceptions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches