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.001576/0.001576, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.53/1.53, allocations: 223.2 MB / 240.3 MB, free: 10.13 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.001038/0.001038, allocations: 92.62 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003442, allocations: 7.938 kB / 351.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2905, allocations: 50.41 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.4085, allocations: 77.42 MB / 478.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003528/0.409, allocations: 63.97 kB / 479 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03138/0.4404, allocations: 11.94 MB / 490.9 MB, free: 6.957 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4404, allocations: 3.938 kB / 490.9 MB, free: 6.953 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.692e-05/0.4405, allocations: 24 kB / 490.9 MB, free: 6.93 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.001596/0.4421, allocations: 0.9212 MB / 491.8 MB, free: 5.926 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4422, allocations: 8.031 kB / 491.9 MB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.4423, allocations: 98.95 kB / 492 MB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006982/0.4431, allocations: 445.7 kB / 492.4 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.663e-05/0.4432, allocations: 89.98 kB / 492.5 MB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.4433, allocations: 108 kB / 492.6 MB, free: 5.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.4448, allocations: 0.9541 MB / 493.5 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.4449, allocations: 4 kB / 493.5 MB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.445, allocations: 43.98 kB / 493.6 MB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.445, allocations: 27.95 kB / 493.6 MB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.4462, allocations: 0.7027 MB / 494.3 MB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004575/0.4508, allocations: 2.486 MB / 496.8 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.4519, allocations: 0.684 MB / 497.5 MB, free: 120 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-05/0.452, allocations: 17.22 kB / 497.5 MB, free: 104 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006893/0.4527, allocations: 435.6 kB / 497.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 3.877e-06/0.4527, allocations: 4 kB / 497.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.001548/0.4543, allocations: 0.8551 MB / 498.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.4544, allocations: 123.8 kB / 498.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.4548, allocations: 295.3 kB / 499.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.455, allocations: 77.69 kB / 499.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.4552, allocations: 297 kB / 499.6 MB, free: 13.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.4555, allocations: 252.9 kB / 499.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.4556, allocations: 24 kB / 499.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4557, allocations: 367 kB / 0.4885 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.4562, allocations: 266.5 kB / 0.4887 GB, free: 13.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.4568, allocations: 488.5 kB / 0.4892 GB, free: 12.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.4573, allocations: 282.4 kB / 0.4895 GB, free: 12.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4573, allocations: 0 / 0.4895 GB, free: 12.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001386/0.4587, allocations: 0.8708 MB / 0.4903 GB, free: 11.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.4587, allocations: 8 kB / 0.4903 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.4587, allocations: 8 kB / 0.4903 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/0.4588, allocations: 16.73 kB / 0.4903 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.4592, allocations: 111.7 kB / 0.4904 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/0.4593, allocations: 27.83 kB / 0.4905 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.4596, allocations: 67.72 kB / 0.4905 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-05/0.4597, allocations: 47.98 kB / 0.4906 GB, free: 11.08 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.0005409/0.4603, allocations: 307.7 kB / 0.4909 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.144e-05/0.4604, allocations: 47.44 kB / 0.4909 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.4617, allocations: 0.7533 MB / 0.4917 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.4617, allocations: 12 kB / 0.4917 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.4617, allocations: 3.984 kB / 0.4917 GB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.4617, allocations: 15.88 kB / 0.4917 GB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.4645, allocations: 1.676 MB / 0.4933 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.4646, allocations: 4 kB / 0.4933 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.4649, allocations: 75.77 kB / 0.4934 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.4649, allocations: 4 kB / 0.4934 GB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.465, allocations: 27.98 kB / 0.4934 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.465, allocations: 4 kB / 0.4934 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.465, allocations: 0 / 0.4934 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.4662, allocations: 0.8095 MB / 0.4942 GB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.4664, allocations: 132.3 kB / 0.4943 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/0.4665, allocations: 27.98 kB / 0.4944 GB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.4668, allocations: 43.92 kB / 0.4944 GB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/0.4671, allocations: 100.8 kB / 0.4945 GB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/0.4671, allocations: 35.98 kB / 0.4945 GB, free: 6.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.4673, allocations: 160.5 kB / 0.4947 GB, free: 6.727 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4673, allocations: 0 / 0.4947 GB, free: 6.727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008121/0.4681, allocations: 171.9 kB / 0.4949 GB, free: 6.559 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.0003441/0.4685, allocations: 165.6 kB / 0.495 GB, free: 6.391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.4697, allocations: 0.7525 MB / 0.4958 GB, free: 5.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4697, allocations: 0 / 0.4958 GB, free: 5.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.4703, allocations: 385.5 kB / 0.4961 GB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.4707, allocations: 89.55 kB / 0.4962 GB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.473, allocations: 1.424 MB / 0.4976 GB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.4736, allocations: 0.9706 MB / 0.4985 GB, free: 2.715 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003913/0.474, allocations: 106 kB / 0.4986 GB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.4742, allocations: 71.41 kB / 0.4987 GB, free: 2.539 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4742, allocations: 4 kB / 0.4987 GB, free: 2.535 MB / 378.7 MB Notification: Performance of Templates: time 0.2592/0.7334, allocations: 6.634 MB / 0.5052 GB, free: 95.65 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/jenkins/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