Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.ShowExceptions.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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_3.2.3_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_3.2.3_Modelica.StateGraph.Examples.ShowExceptions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 105.7 kB / 18.4 MB, free: 4.68 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.001171/0.001171, allocations: 187 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 51.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08311/0.08444, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowExceptions): time 0.003773/0.08825, allocations: 2.679 MB / 378.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.09045, allocations: 1.22 MB / 379.7 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004228/0.09089, allocations: 31.88 kB / 379.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.09128, allocations: 134.5 kB / 379.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005166/0.09181, allocations: 106.9 kB / 380 MB, free: 400 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1634/0.2552, allocations: 0.7007 MB / 380.7 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.2569, allocations: 1.607 MB / 382.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.2582, allocations: 1.055 MB / 383.3 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004013/0.2586, allocations: 0.5021 MB / 383.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004205/0.259, allocations: 0.5172 MB / 384.4 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.2592, allocations: 166.4 kB / 384.5 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.2594, allocations: 171.5 kB / 384.7 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.2597, allocations: 342.8 kB / 385 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003786/0.2601, allocations: 0.5633 MB / 385.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.2616, allocations: 1.69 MB / 387.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2616, allocations: 0 / 387.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2616, allocations: 1.062 kB / 387.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.2616, allocations: 0 / 387.3 MB, free: 7.852 MB / 318.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.001709/0.2633, allocations: 1.253 MB / 388.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2634, allocations: 14.61 kB / 388.5 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.2636, allocations: 113.6 kB / 388.6 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.2643, allocations: 0.5883 MB / 389.2 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.217e-05/0.2644, allocations: 107.9 kB / 389.3 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.2645, allocations: 130.9 kB / 389.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.2664, allocations: 1.274 MB / 390.7 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.2664, allocations: 6.469 kB / 390.8 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.549e-05/0.2665, allocations: 52.38 kB / 390.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.2666, allocations: 30.16 kB / 390.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.2681, allocations: 0.9421 MB / 391.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004057/0.2722, allocations: 4.182 MB / 396 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.2733, allocations: 0.8027 MB / 396.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.2739, allocations: 407.7 kB / 397.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.274, allocations: 99.86 kB / 397.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006539/0.2747, allocations: 471.7 kB / 397.7 MB, free: 1.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=111): time 2.855e-06/0.2747, allocations: 7.5 kB / 397.7 MB, free: 1.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.001626/0.2763, allocations: 1.02 MB / 398.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.2764, allocations: 75.56 kB / 398.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.2769, allocations: 422.8 kB / 399.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.277, allocations: 85.12 kB / 399.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.2772, allocations: 390.7 kB / 399.7 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.2775, allocations: 273.9 kB / 400 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000439/0.2779, allocations: 346.4 kB / 400.3 MB, free: 348 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.278, allocations: 326.9 kB / 400.6 MB, free: 24 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009245/0.2789, allocations: 376.8 kB / 401 MB, free: 0 / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008569/0.2798, allocations: 0.671 MB / 401.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.281, allocations: 0.8982 MB / 402.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.281, allocations: 3.5 kB / 402.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.001724/0.2827, allocations: 1.122 MB / 403.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2828, allocations: 12.48 kB / 403.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.2828, allocations: 8.75 kB / 403.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.2828, allocations: 16.16 kB / 403.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.2833, allocations: 151.4 kB / 403.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/0.2833, allocations: 19.94 kB / 403.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.2838, allocations: 125.5 kB / 404 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.2839, allocations: 71.59 kB / 404.1 MB, free: 14.17 MB / 334.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,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.compositeStep12.stateGraphRoot.resume,compositeStep.compositeStep12.stateGraphRoot.suspend,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.compositeStep11.stateGraphRoot.resume,compositeStep.compositeStep11.stateGraphRoot.suspend,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,compositeStep.stateGraphRoot.resume,compositeStep.stateGraphRoot.suspend,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,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 (184): * Single equations (assignments): 184 * 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.0004606/0.2844, allocations: 406.4 kB / 404.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.2844, allocations: 58.69 kB / 404.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.2859, allocations: 0.829 MB / 405.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.2859, allocations: 9.062 kB / 405.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.2859, allocations: 0 / 405.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.286, allocations: 155.3 kB / 405.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-05/0.2861, allocations: 26.75 kB / 405.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.2863, allocations: 31.25 kB / 405.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/0.2866, allocations: 143.1 kB / 405.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001414/0.2881, allocations: 0.8747 MB / 406.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001257/0.2893, allocations: 0.9497 MB / 407.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005588/0.2899, allocations: 415.8 kB / 407.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001924/0.2901, allocations: 205.4 kB / 408.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of Backend: time 1.223e-06/0.2901, allocations: 0 / 408.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.2915, allocations: 0.7389 MB / 408.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of SimCode: time 0.002058/0.2935, allocations: 1.659 MB / 410.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Templates: time 0.0168/0.3103, allocations: 9.977 MB / 420.5 MB, free: 1.738 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.ShowExceptions.makefile (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.ShowExceptions.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.ShowExceptions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.ShowExceptions.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.ShowExceptions.sim & ./Modelica_3.2.3_Modelica.StateGraph.Examples.ShowExceptions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.StateGraph.Examples.ShowExceptions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.ShowExceptions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/ShowExceptions/ShowExceptions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.ShowExceptions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches