Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.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.ExecutionPaths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire|transition3.enableFire|transition4.enableFire|transition4a.enableFire|transition5.enableFire|transition6.enableFire|transition6a.enableFire|transition7.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths") translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire|transition3.enableFire|transition4.enableFire|transition4a.enableFire|transition5.enableFire|transition6.enableFire|transition6a.enableFire|transition7.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 118.3 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001292, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2473, allocations: 50.55 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.003827/0.2512, allocations: 2.541 MB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.2528, allocations: 0.9113 MB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.253, allocations: 19.94 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.2533, allocations: 114.8 kB / 413.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.2535, allocations: 71.14 kB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008839/0.2544, allocations: 455.3 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.2554, allocations: 1.135 MB / 415.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000977/0.2564, allocations: 0.8009 MB / 416 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.2568, allocations: 390.7 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004151/0.2572, allocations: 418.2 kB / 416.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.2574, allocations: 100 kB / 416.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.2575, allocations: 115.9 kB / 417 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.2578, allocations: 255.3 kB / 417.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.2582, allocations: 429.9 kB / 417.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009172/0.2591, allocations: 1.082 MB / 418.7 MB, free: 8.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2591, allocations: 0 / 418.7 MB, free: 8.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2591, allocations: 0 / 418.7 MB, free: 8.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.2591, allocations: 0 / 418.7 MB, free: 8.77 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.001571/0.2607, allocations: 1.102 MB / 419.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2608, allocations: 12.03 kB / 419.8 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007755/0.2616, allocations: 131.8 kB / 420 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.2621, allocations: 458.8 kB / 420.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.978e-05/0.2622, allocations: 86.38 kB / 420.5 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.2624, allocations: 112.3 kB / 420.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.2638, allocations: 0.9625 MB / 421.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.2639, allocations: 192 / 421.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.578e-05/0.264, allocations: 43.92 kB / 421.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/0.264, allocations: 28 kB / 421.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.2652, allocations: 0.7143 MB / 422.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/0.2683, allocations: 2.481 MB / 424.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009434/0.2692, allocations: 0.6909 MB / 425.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.2697, allocations: 341.2 kB / 425.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.2698, allocations: 13 kB / 425.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006411/0.2704, allocations: 440.9 kB / 426.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.454e-06/0.2704, allocations: 0 / 426.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.001328/0.2718, allocations: 0.824 MB / 427.1 MB, free: 92 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/0.2718, allocations: 132 kB / 427.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.2721, allocations: 324.1 kB / 427.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.95e-05/0.2722, allocations: 73.69 kB / 427.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.2725, allocations: 301.1 kB / 427.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.2727, allocations: 252.6 kB / 428.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.273, allocations: 266.9 kB / 428.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2732, allocations: 374.7 kB / 428.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.2736, allocations: 266.5 kB / 429.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005863/0.2742, allocations: 496.5 kB / 429.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008488/0.2751, allocations: 0.6561 MB / 430.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.2751, allocations: 4 kB / 430.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001232/0.2763, allocations: 0.8552 MB / 431.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.2763, allocations: 11.94 kB / 431.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.2764, allocations: 8.781 kB / 431.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.2764, allocations: 8 kB / 431.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.2768, allocations: 119.7 kB / 431.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/0.2769, allocations: 19.92 kB / 431.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.2772, allocations: 99.09 kB / 431.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.2772, allocations: 40 kB / 431.4 MB, free: 11.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 126 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.transition6.enableFire,$PRE.transition7.enableFire,$PRE.transition4a.enableFire,$PRE.transition6a.enableFire,stateGraphRoot.activeSteps,Parallel1.outPort.available,alternative.split[3].available,alternative.split[2].available,transition6a.t_start,$PRE.transition6a.t_start,transition6a.fire,transition6a.enableFire,step4a.oldActive,$PRE.step4a.oldActive,step4a.newActive,$PRE.step4a.newActive,step4a.localActive,$PRE.step4a.localActive,step4a.active,transition4a.t_start,$PRE.transition4a.t_start,transition4a.fire,transition4a.enableFire,transition7.enableFire,transition7.localCondition,step5.oldActive,$PRE.step5.oldActive,step5.newActive,$PRE.step5.newActive,step5.inPort[1].set,step5.localActive,$PRE.step5.localActive,step5.active,transition6.t_start,$PRE.transition6.t_start,transition6.fire,transition6.enableFire,transition5.t_start,$PRE.transition5.t_start,transition5.fire,transition5.enableFire,step4.oldActive,$PRE.step4.oldActive,step4.newActive,$PRE.step4.newActive,step4.localActive,$PRE.step4.localActive,step4.active,step3.oldActive,$PRE.step3.oldActive,step3.newActive,$PRE.step3.newActive,step3.localActive,$PRE.step3.localActive,step3.active,transition4.t_start,$PRE.transition4.t_start,transition4.fire,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.fire,transition3.enableFire,step2.oldActive,$PRE.step2.oldActive,step2.newActive,$PRE.step2.newActive,step2.outPort[1].reset,step2.localActive,$PRE.step2.localActive,step2.active,step6.oldActive,$PRE.step6.oldActive,step6.newActive,$PRE.step6.newActive,step6.localActive,$PRE.step6.localActive,step6.active,transition2.t_start,$PRE.transition2.t_start,transition2.fire,transition2.enableFire,step1.oldActive,$PRE.step1.oldActive,step1.newActive,$PRE.step1.newActive,step1.localActive,$PRE.step1.localActive,step1.active,transition1.t_start,$PRE.transition1.t_start,transition1.outPort.occupied,transition1.fire,transition1.enableFire,step0.oldActive,$PRE.step0.oldActive,step0.newActive,$PRE.step0.newActive,step0.localActive,$PRE.step0.localActive,step0.active,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,transition7.t_start,$PRE.transition7.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition6a.condition,transition4a.condition,transition6.condition,transition5.condition,transition4.condition,transition3.condition,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0003311/0.2776, allocations: 319.6 kB / 431.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.2776, allocations: 47.44 kB / 431.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.2778, allocations: 65.27 kB / 431.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.2778, allocations: 7.984 kB / 431.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2778, allocations: 0 / 431.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/0.2779, allocations: 132.3 kB / 431.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.278, allocations: 23.98 kB / 431.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.2782, allocations: 35.91 kB / 432 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.2784, allocations: 96.89 kB / 432.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001159/0.2796, allocations: 0.918 MB / 433 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009653/0.2805, allocations: 0.9604 MB / 433.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004437/0.281, allocations: 343.8 kB / 434.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.2811, allocations: 148.5 kB / 434.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of Backend: time 5.71e-07/0.2811, allocations: 4 kB / 434.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.2823, allocations: 0.6034 MB / 435 MB, free: 7.867 MB / 350.1 MB Notification: Performance of SimCode: time 0.001597/0.2839, allocations: 1.419 MB / 436.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of Templates: time 0.01344/0.2974, allocations: 7.43 MB / 443.9 MB, free: 15 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ExecutionPaths/ExecutionPaths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches