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/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_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/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 198.6 kB / 17.08 MB, free: 5.066 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.2 MB / 245 MB, free: 5.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 101.4 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002266/0.0002266, allocations: 4 kB / 357.9 MB, free: 9.352 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1917, allocations: 51.5 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08471/0.2765, allocations: 78.21 MB / 487.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.2767, allocations: 68.62 kB / 487.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02913/0.3059, allocations: 11.93 MB / 499.6 MB, free: 328 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3059, allocations: 0 / 499.6 MB, free: 328 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.508e-05/0.306, allocations: 24 kB / 499.6 MB, free: 304 kB / 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.001555/0.3075, allocations: 0.9251 MB / 0.4888 GB, free: 15.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.3076, allocations: 8.031 kB / 0.4888 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.3078, allocations: 90.97 kB / 0.4889 GB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/0.3084, allocations: 449.7 kB / 0.4893 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.024e-05/0.3085, allocations: 86 kB / 0.4894 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.3087, allocations: 119.9 kB / 0.4895 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.3101, allocations: 0.9541 MB / 0.4905 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3102, allocations: 0 / 0.4905 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.3102, allocations: 44 kB / 0.4905 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.3103, allocations: 27.98 kB / 0.4905 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.3115, allocations: 0.7143 MB / 0.4912 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/0.3146, allocations: 2.478 MB / 0.4937 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009319/0.3155, allocations: 0.6846 MB / 0.4943 GB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-05/0.3156, allocations: 17.06 kB / 0.4943 GB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005938/0.3162, allocations: 439.5 kB / 0.4948 GB, free: 9.008 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 2.314e-06/0.3162, allocations: 4 kB / 0.4948 GB, free: 9.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.001322/0.3175, allocations: 0.8436 MB / 0.4956 GB, free: 8.152 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.3176, allocations: 127.8 kB / 0.4957 GB, free: 8.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.3178, allocations: 295.3 kB / 0.496 GB, free: 7.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.413e-05/0.318, allocations: 73.7 kB / 0.4961 GB, free: 7.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.3182, allocations: 305 kB / 0.4964 GB, free: 7.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.3184, allocations: 244.9 kB / 0.4966 GB, free: 7.086 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.3184, allocations: 27.94 kB / 0.4966 GB, free: 7.059 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3186, allocations: 366.8 kB / 0.497 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.319, allocations: 270.7 kB / 0.4972 GB, free: 6.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.3196, allocations: 480.6 kB / 0.4977 GB, free: 5.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.3201, allocations: 286.3 kB / 0.498 GB, free: 5.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3201, allocations: 0 / 0.498 GB, free: 5.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001222/0.3213, allocations: 0.8788 MB / 0.4988 GB, free: 4.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.3213, allocations: 8 kB / 0.4988 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3213, allocations: 8 kB / 0.4988 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.3214, allocations: 12 kB / 0.4988 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.3218, allocations: 115.6 kB / 0.499 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.3218, allocations: 16.55 kB / 0.499 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.3221, allocations: 71.67 kB / 0.499 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.599e-05/0.3222, allocations: 51.98 kB / 0.4991 GB, free: 4.434 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.0003492/0.3226, allocations: 315.6 kB / 0.4994 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.3227, allocations: 51.39 kB / 0.4994 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.3238, allocations: 0.7417 MB / 0.5002 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.3238, allocations: 8 kB / 0.5002 GB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.3239, allocations: 7.984 kB / 0.5002 GB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.3239, allocations: 3.984 kB / 0.5002 GB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.3263, allocations: 1.691 MB / 0.5018 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.3263, allocations: 4 kB / 0.5018 GB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.3266, allocations: 67.83 kB / 0.5019 GB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.3266, allocations: 4 kB / 0.5019 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.3266, allocations: 27.94 kB / 0.5019 GB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.3267, allocations: 12 kB / 0.5019 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3267, allocations: 0 / 0.5019 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.3277, allocations: 0.8133 MB / 0.5027 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.59e-05/0.3278, allocations: 128.4 kB / 0.5029 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.3279, allocations: 28 kB / 0.5029 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.3281, allocations: 39.97 kB / 0.5029 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.3283, allocations: 104.8 kB / 0.503 GB, free: 276 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/0.3284, allocations: 31.98 kB / 0.5031 GB, free: 244 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.3285, allocations: 156.5 kB / 0.5032 GB, free: 88 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3285, allocations: 4 kB / 0.5032 GB, free: 84 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.1552/0.4837, allocations: 169.4 kB / 0.5034 GB, free: 92.54 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.0003042/0.4841, allocations: 158.7 kB / 0.5035 GB, free: 92.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.4857, allocations: 0.7538 MB / 0.5043 GB, free: 92.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4857, allocations: 0 / 0.5043 GB, free: 92.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006538/0.4864, allocations: 389.5 kB / 0.5046 GB, free: 92.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.4868, allocations: 76.17 kB / 0.5047 GB, free: 92.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.4888, allocations: 1.437 MB / 0.5061 GB, free: 91.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.4893, allocations: 0.965 MB / 0.507 GB, free: 91.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004345/0.4898, allocations: 110.8 kB / 0.5072 GB, free: 91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.49, allocations: 70.52 kB / 0.5072 GB, free: 91 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.49, allocations: 0 / 0.5072 GB, free: 91 MB / 378.7 MB Notification: Performance of Templates: time 0.01258/0.5026, allocations: 6.655 MB / 0.5137 GB, free: 90.68 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ExecutionPaths/ExecutionPaths.csv","../files/Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches