Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 241.4 MB, free: 9.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 97.73 kB / 292.6 MB, free: 10.59 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003851, allocations: 8 kB / 352.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2647, allocations: 50.41 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.3733, allocations: 77.45 MB / 480.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.3736, allocations: 72.47 kB / 480.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02927/0.4029, allocations: 11.92 MB / 492.2 MB, free: 6.801 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4029, allocations: 3.938 kB / 492.2 MB, free: 6.797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.684e-05/0.403, allocations: 28 kB / 492.2 MB, free: 6.77 MB / 362.7 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.002031/0.405, allocations: 0.9253 MB / 493.1 MB, free: 5.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4051, allocations: 12.03 kB / 493.1 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.4054, allocations: 91.91 kB / 493.2 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007579/0.4062, allocations: 451.5 kB / 493.7 MB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.4063, allocations: 90.38 kB / 493.8 MB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.4065, allocations: 112.4 kB / 493.9 MB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.4084, allocations: 0.9624 MB / 494.8 MB, free: 3.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.4084, allocations: 192 / 494.8 MB, free: 3.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.4085, allocations: 47.88 kB / 494.9 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.4085, allocations: 24 kB / 494.9 MB, free: 3.922 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.41, allocations: 0.7105 MB / 495.6 MB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003787/0.4138, allocations: 2.49 MB / 498.1 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.4149, allocations: 0.6752 MB / 498.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.4154, allocations: 349.1 kB / 499.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.756e-05/0.4155, allocations: 18.27 kB / 499.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006746/0.4162, allocations: 447.6 kB / 499.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 3.066e-06/0.4162, allocations: 0 / 499.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.00147/0.4176, allocations: 0.8474 MB / 0.4887 GB, free: 14.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.4177, allocations: 127.8 kB / 0.4888 GB, free: 14.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.4181, allocations: 320.4 kB / 0.4891 GB, free: 13.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.694e-05/0.4182, allocations: 73.69 kB / 0.4892 GB, free: 13.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.4185, allocations: 309 kB / 0.4895 GB, free: 13.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.4187, allocations: 240.9 kB / 0.4897 GB, free: 13.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.4187, allocations: 28 kB / 0.4897 GB, free: 13.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.4189, allocations: 366.7 kB / 0.4901 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.4194, allocations: 266.5 kB / 0.4903 GB, free: 12.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006253/0.42, allocations: 496.5 kB / 0.4908 GB, free: 11.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009379/0.421, allocations: 0.668 MB / 0.4915 GB, free: 11.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.421, allocations: 0 / 0.4915 GB, free: 11.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001345/0.4223, allocations: 0.8748 MB / 0.4923 GB, free: 10.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4224, allocations: 8 kB / 0.4923 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.4224, allocations: 8 kB / 0.4923 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.4224, allocations: 12 kB / 0.4924 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.4229, allocations: 112.3 kB / 0.4925 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.817e-05/0.4229, allocations: 15.94 kB / 0.4925 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.4233, allocations: 75.66 kB / 0.4925 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-05/0.4234, allocations: 47.98 kB / 0.4926 GB, free: 10.05 MB / 378.7 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,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,step2.active,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step3.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,step4.active,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,step4a.active,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps,$PRE.transition7.t_start,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000473/0.4239, allocations: 315.6 kB / 0.4929 GB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.922e-05/0.4239, allocations: 47.44 kB / 0.4929 GB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.4251, allocations: 0.7457 MB / 0.4937 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.4252, allocations: 8 kB / 0.4937 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4252, allocations: 7.938 kB / 0.4937 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.4252, allocations: 7.969 kB / 0.4937 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.4278, allocations: 1.687 MB / 0.4953 GB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4278, allocations: 4 kB / 0.4953 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.4281, allocations: 71.83 kB / 0.4954 GB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.4281, allocations: 4 kB / 0.4954 GB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.4281, allocations: 23.98 kB / 0.4954 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.4281, allocations: 8 kB / 0.4954 GB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4282, allocations: 0 / 0.4954 GB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.4293, allocations: 0.7943 MB / 0.4962 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.4294, allocations: 124.4 kB / 0.4963 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.52e-05/0.4295, allocations: 23.98 kB / 0.4964 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.4297, allocations: 43.97 kB / 0.4964 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.4299, allocations: 100.8 kB / 0.4965 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.43, allocations: 35.98 kB / 0.4965 GB, free: 5.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001784/0.4302, allocations: 156.5 kB / 0.4967 GB, free: 5.734 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4302, allocations: 0 / 0.4967 GB, free: 5.734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007549/0.431, allocations: 175.9 kB / 0.4969 GB, free: 5.562 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 85 (transition7.t_start,transition4a.enableFire,transition4.enableFire,transition6a.enableFire,step4a.localActive,transition2.enableFire,step5.localActive,transition5.enableFire,transition6.enableFire,step4.localActive,step3.localActive,transition3.enableFire,transition1.enableFire,step2.localActive,step6.localActive,step1.localActive,step0.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,step2.outPort[1].reset,step2.newActive,step2.oldActive,step2.active,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.newActive,step3.oldActive,step3.active,step4.newActive,step4.oldActive,step4.active,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.inPort[1].set,step5.newActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.fire,transition4a.t_start,step4a.newActive,step4a.oldActive,step4a.active,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 9 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive,transition7.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002832/0.4313, allocations: 171 kB / 0.497 GB, free: 5.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.4325, allocations: 0.7496 MB / 0.4977 GB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4325, allocations: 0 / 0.4977 GB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005344/0.433, allocations: 381.6 kB / 0.4981 GB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.4335, allocations: 95.19 kB / 0.4982 GB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.4358, allocations: 1.448 MB / 0.4996 GB, free: 2.688 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.4364, allocations: 0.9571 MB / 0.5006 GB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003219/0.4368, allocations: 106 kB / 0.5007 GB, free: 1.598 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.437, allocations: 75.41 kB / 0.5007 GB, free: 1.523 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.437, allocations: 0 / 0.5007 GB, free: 1.523 MB / 378.7 MB Notification: Performance of Templates: time 0.2235/0.6605, allocations: 6.718 MB / 0.5073 GB, free: 96.47 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches