Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.StateGraph.Examples.ShowExceptions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002256/0.002256, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ShowExceptions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5016,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_4.1.0_Modelica.StateGraph.Examples.ShowExceptions") translateModel(Modelica.StateGraph.Examples.ShowExceptions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5016,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_4.1.0_Modelica.StateGraph.Examples.ShowExceptions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 43.94 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.223, allocations: 53.37 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowExceptions): time 0.003899/0.2269, allocations: 2.563 MB / 434.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.2289, allocations: 1.267 MB / 436.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.2292, allocations: 35.75 kB / 436.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.2295, allocations: 146.4 kB / 436.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.2298, allocations: 103 kB / 436.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.2311, allocations: 0.7529 MB / 437.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.2327, allocations: 1.647 MB / 438.8 MB, free: 152 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.2337, allocations: 0.8483 MB / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005073/0.2342, allocations: 0.522 MB / 440.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005451/0.2348, allocations: 0.5368 MB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.235, allocations: 164 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.2352, allocations: 164 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.2355, allocations: 347.1 kB / 441.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004339/0.2359, allocations: 462 kB / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.2375, allocations: 1.723 MB / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2375, allocations: 0 / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2375, allocations: 0 / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.2375, allocations: 4 kB / 443.6 MB, free: 11.37 MB / 350.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.001962/0.2395, allocations: 1.233 MB / 444.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2395, allocations: 11.98 kB / 444.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.241, allocations: 212.1 kB / 445 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/0.2419, allocations: 0.516 MB / 445.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.242, allocations: 106.7 kB / 445.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.2422, allocations: 132.4 kB / 445.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.2444, allocations: 1.265 MB / 447 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.2444, allocations: 0 / 447 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.2446, allocations: 48 kB / 447.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.2446, allocations: 28 kB / 447.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.2463, allocations: 0.9217 MB / 448 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005234/0.2515, allocations: 3.991 MB / 452 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.2528, allocations: 0.7438 MB / 452.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.2534, allocations: 355.2 kB / 453.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.2535, allocations: 9 kB / 453.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008783/0.2543, allocations: 0.51 MB / 453.6 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=107): time 3.226e-06/0.2543, allocations: 6.297 kB / 453.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.001809/0.2562, allocations: 0.9883 MB / 454.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.2563, allocations: 179.2 kB / 454.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.2567, allocations: 439.6 kB / 455.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.2568, allocations: 81.69 kB / 455.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.2572, allocations: 397.8 kB / 455.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.2574, allocations: 281.8 kB / 456 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004405/0.2579, allocations: 324 kB / 456.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.258, allocations: 326 kB / 456.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006405/0.2586, allocations: 339.9 kB / 456.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009158/0.2596, allocations: 0.6602 MB / 457.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.2609, allocations: 0.8756 MB / 458.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.2609, allocations: 4 kB / 458.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.001845/0.2627, allocations: 1.09 MB / 459.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2628, allocations: 8 kB / 459.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.2628, allocations: 12 kB / 459.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.2628, allocations: 16 kB / 459.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.2633, allocations: 143.5 kB / 459.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.974e-05/0.2634, allocations: 19.94 kB / 459.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.2638, allocations: 127.1 kB / 459.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.822e-05/0.2639, allocations: 56.23 kB / 459.9 MB, free: 10.26 MB / 366.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.0005235/0.2644, allocations: 417.1 kB / 460.4 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-05/0.2645, allocations: 55.67 kB / 460.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.2647, allocations: 69.5 kB / 460.5 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.2647, allocations: 3.984 kB / 460.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.2647, allocations: 7.984 kB / 460.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.916e-05/0.2648, allocations: 63.38 kB / 460.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.45e-05/0.2649, allocations: 28 kB / 460.6 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.2651, allocations: 43.91 kB / 460.6 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/0.2653, allocations: 128.8 kB / 460.7 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00166/0.267, allocations: 1.178 MB / 461.9 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001438/0.2684, allocations: 1.23 MB / 463.2 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006005/0.269, allocations: 371.8 kB / 463.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.2692, allocations: 199.2 kB / 463.7 MB, free: 6.445 MB / 366.1 MB Notification: Performance of Backend: time 3.81e-07/0.2692, allocations: 0 / 463.7 MB, free: 6.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.2709, allocations: 0.6481 MB / 464.4 MB, free: 5.793 MB / 366.1 MB Notification: Performance of SimCode: time 0.002295/0.2732, allocations: 1.66 MB / 466 MB, free: 4.082 MB / 366.1 MB Notification: Performance of Templates: time 0.01895/0.2922, allocations: 10.3 MB / 476.3 MB, free: 9.891 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.StateGraph.Examples.ShowExceptions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.StateGraph.Examples.ShowExceptions.pipe ; mkfifo Modelica_4.1.0_Modelica.StateGraph.Examples.ShowExceptions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.StateGraph.Examples.ShowExceptions.pipe >> ../files/Modelica_4.1.0_Modelica.StateGraph.Examples.ShowExceptions.sim & ./Modelica_4.1.0_Modelica.StateGraph.Examples.ShowExceptions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.StateGraph.Examples.ShowExceptions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.StateGraph.Examples.ShowExceptions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/ShowExceptions/ShowExceptions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.StateGraph.Examples.ShowExceptions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.618710445000033]