Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ShowExceptions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.413/1.413, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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=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-beta.om_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-beta.om_Modelica.StateGraph.Examples.ShowExceptions") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.83 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2404, allocations: 53.32 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowExceptions): time 0.004546/0.245, allocations: 2.742 MB / 434.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.2473, allocations: 1.267 MB / 436 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.2476, allocations: 23.88 kB / 436.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.2479, allocations: 146.4 kB / 436.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.2482, allocations: 110.9 kB / 436.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.2495, allocations: 0.7139 MB / 437 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001819/0.2513, allocations: 1.609 MB / 438.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.2524, allocations: 0.8284 MB / 439.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005249/0.253, allocations: 0.5141 MB / 440 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006001/0.2536, allocations: 0.5212 MB / 440.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.2538, allocations: 164 kB / 440.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.254, allocations: 175.9 kB / 440.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.2543, allocations: 347.1 kB / 441.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005395/0.2548, allocations: 0.5638 MB / 441.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.2566, allocations: 1.73 MB / 443.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2566, allocations: 0 / 443.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2566, allocations: 0 / 443.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.2566, allocations: 0 / 443.5 MB, free: 11.9 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.002061/0.2587, allocations: 1.3 MB / 444.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2587, allocations: 8.031 kB / 444.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.2601, allocations: 216.1 kB / 445 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008933/0.261, allocations: 0.574 MB / 445.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.2611, allocations: 106.7 kB / 445.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.2613, allocations: 132.4 kB / 445.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.2635, allocations: 1.265 MB / 447.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.2636, allocations: 4 kB / 447.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.2637, allocations: 55.94 kB / 447.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.2637, allocations: 31.98 kB / 447.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.2655, allocations: 0.9218 MB / 448.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005844/0.2713, allocations: 4.537 MB / 452.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.2726, allocations: 0.7426 MB / 453.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005924/0.2731, allocations: 363.1 kB / 453.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.2732, allocations: 13 kB / 453.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008951/0.2741, allocations: 0.5061 MB / 454.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=107): time 3.326e-06/0.2741, allocations: 4 kB / 454.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.001847/0.2759, allocations: 0.9921 MB / 455.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.2761, allocations: 189.4 kB / 455.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/0.2765, allocations: 415.9 kB / 455.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.2766, allocations: 85.69 kB / 455.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.277, allocations: 390.4 kB / 456.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.2772, allocations: 293.8 kB / 456.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/0.2777, allocations: 315.5 kB / 456.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2778, allocations: 322 kB / 457.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000625/0.2784, allocations: 343.8 kB / 457.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009081/0.2793, allocations: 0.6524 MB / 458.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.2806, allocations: 0.8795 MB / 459 MB, free: 11.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2806, allocations: 4 kB / 459.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.001801/0.2824, allocations: 1.09 MB / 460.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.2825, allocations: 11.94 kB / 460.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.2825, allocations: 12 kB / 460.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.861e-05/0.2825, allocations: 16 kB / 460.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.283, allocations: 147.5 kB / 460.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-05/0.2831, allocations: 23.92 kB / 460.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.2835, allocations: 119.7 kB / 460.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.092e-05/0.2836, allocations: 56 kB / 460.5 MB, free: 10.05 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.0005444/0.2841, allocations: 405.2 kB / 460.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.2842, allocations: 63.61 kB / 461 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.2844, allocations: 73.44 kB / 461 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.2844, allocations: 7.922 kB / 461.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2844, allocations: 4 kB / 461.1 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.2845, allocations: 144.5 kB / 461.2 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.192e-05/0.2846, allocations: 31.98 kB / 461.2 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.2848, allocations: 27.98 kB / 461.3 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/0.2851, allocations: 128.8 kB / 461.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001686/0.2868, allocations: 1.182 MB / 462.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001411/0.2882, allocations: 1.214 MB / 463.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006028/0.2888, allocations: 375.7 kB / 464.2 MB, free: 6.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.289, allocations: 195.1 kB / 464.3 MB, free: 6.164 MB / 366.1 MB Notification: Performance of Backend: time 9.62e-07/0.289, allocations: 0 / 464.3 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.2907, allocations: 0.6534 MB / 465 MB, free: 5.512 MB / 366.1 MB Notification: Performance of SimCode: time 0.002242/0.2929, allocations: 1.67 MB / 466.7 MB, free: 3.793 MB / 366.1 MB Notification: Performance of Templates: time 0.01812/0.311, allocations: 9.332 MB / 476 MB, free: 10.5 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ShowExceptions.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ShowExceptions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ShowExceptions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ShowExceptions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ShowExceptions.sim & ./Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ShowExceptions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ShowExceptions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ShowExceptions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/ShowExceptions/ShowExceptions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.479261304717511]