Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.StateGraph.Examples.ExecutionPaths.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009225/0.0009225, allocations: 199.4 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.5 MB / 245.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008204/0.0008206, allocations: 106.5 kB / 297.4 MB, free: 6.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002004/0.0002004, allocations: 4 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2055, allocations: 51.3 MB / 408.7 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08852/0.294, allocations: 78.14 MB / 486.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/0.2942, allocations: 67.97 kB / 486.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02775/0.322, allocations: 11.94 MB / 498.8 MB, free: 1.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.322, allocations: 0 / 498.8 MB, free: 1.312 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.55e-05/0.3221, allocations: 24 kB / 498.8 MB, free: 1.289 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.001269/0.3233, allocations: 0.9253 MB / 499.7 MB, free: 288 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3234, allocations: 12.03 kB / 499.8 MB, free: 276 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.3235, allocations: 91.91 kB / 499.8 MB, free: 184 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.3241, allocations: 450.8 kB / 0.4886 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/0.3242, allocations: 86.38 kB / 0.4886 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.3244, allocations: 116.4 kB / 0.4888 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.3259, allocations: 0.9663 MB / 0.4897 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.3259, allocations: 192 / 0.4897 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.218e-05/0.326, allocations: 47.94 kB / 0.4897 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.326, allocations: 20 kB / 0.4898 GB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.3272, allocations: 0.7143 MB / 0.4905 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/0.3302, allocations: 2.478 MB / 0.4929 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009341/0.3312, allocations: 0.6796 MB / 0.4935 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/0.3316, allocations: 352.9 kB / 0.4939 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.337e-05/0.3317, allocations: 22.33 kB / 0.4939 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000603/0.3323, allocations: 443.6 kB / 0.4943 GB, free: 9.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 2.605e-06/0.3323, allocations: 0 / 0.4943 GB, free: 9.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.001343/0.3337, allocations: 0.8435 MB / 0.4952 GB, free: 8.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.3338, allocations: 128.1 kB / 0.4953 GB, free: 8.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.334, allocations: 320.1 kB / 0.4956 GB, free: 8.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.028e-05/0.3341, allocations: 77.62 kB / 0.4957 GB, free: 8.234 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.3344, allocations: 309 kB / 0.4959 GB, free: 7.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.3346, allocations: 244.9 kB / 0.4962 GB, free: 7.684 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.3346, allocations: 24 kB / 0.4962 GB, free: 7.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3348, allocations: 366.7 kB / 0.4966 GB, free: 7.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.3352, allocations: 274.4 kB / 0.4968 GB, free: 7.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/0.3358, allocations: 488.6 kB / 0.4973 GB, free: 6.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00085/0.3366, allocations: 0.6718 MB / 0.4979 GB, free: 5.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3366, allocations: 0 / 0.4979 GB, free: 5.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001257/0.3379, allocations: 0.8707 MB / 0.4988 GB, free: 4.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3379, allocations: 11.98 kB / 0.4988 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3379, allocations: 4.781 kB / 0.4988 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.338, allocations: 12 kB / 0.4988 GB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.3384, allocations: 119.7 kB / 0.4989 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.3384, allocations: 15.94 kB / 0.4989 GB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.3387, allocations: 71.66 kB / 0.499 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/0.3388, allocations: 47.98 kB / 0.4991 GB, free: 4.562 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.0003939/0.3392, allocations: 315.6 kB / 0.4994 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.3393, allocations: 47.44 kB / 0.4994 GB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.3405, allocations: 0.7495 MB / 0.5001 GB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.3405, allocations: 12 kB / 0.5001 GB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3405, allocations: 4 kB / 0.5002 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.3405, allocations: 7.969 kB / 0.5002 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.3429, allocations: 1.691 MB / 0.5018 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3429, allocations: 0 / 0.5018 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.3432, allocations: 71.83 kB / 0.5019 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.3433, allocations: 8 kB / 0.5019 GB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.697e-05/0.3433, allocations: 23.98 kB / 0.5019 GB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.3434, allocations: 7.938 kB / 0.5019 GB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3434, allocations: 0 / 0.5019 GB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.3446, allocations: 0.7865 MB / 0.5027 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.3447, allocations: 124.4 kB / 0.5028 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.3447, allocations: 31.98 kB / 0.5028 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.3449, allocations: 39.97 kB / 0.5029 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.3452, allocations: 104.8 kB / 0.503 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-05/0.3452, allocations: 31.98 kB / 0.503 GB, free: 408 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.3453, allocations: 160.4 kB / 0.5032 GB, free: 248 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3454, allocations: 4 kB / 0.5032 GB, free: 244 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000539/0.3459, allocations: 175.9 kB / 0.5033 GB, free: 68 kB / 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.1526/0.4985, allocations: 157 kB / 0.5035 GB, free: 93.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.5, allocations: 0.7464 MB / 0.5042 GB, free: 93.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5001, allocations: 6.281 kB / 0.5042 GB, free: 93.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005423/0.5006, allocations: 377.9 kB / 0.5046 GB, free: 93.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.5012, allocations: 86.58 kB / 0.5047 GB, free: 93.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.5029, allocations: 1.466 MB / 0.5061 GB, free: 92.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.5033, allocations: 0.9436 MB / 0.507 GB, free: 91.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.5035, allocations: 74.89 kB / 0.5071 GB, free: 91.86 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5035, allocations: 0 / 0.5071 GB, free: 91.86 MB / 378.7 MB Notification: Performance of Templates: time 0.009715/0.5133, allocations: 9.028 MB / 0.5159 GB, free: 91.16 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_trunk_cpp_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_trunk_cpp_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_trunk_cpp_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_trunk_cpp_Modelica.StateGraph.Examples.ExecutionPaths --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.StateGraph.Examples.ExecutionPaths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches