Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009947/0.0009947, allocations: 90.69 kB / 262.5 MB, free: 1.672 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.379e-05/1.381e-05, allocations: 0 / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 47.58 MB / 363.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4777/0.5999, allocations: 75.93 MB / 439 MB, free: 3.699 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.6002, allocations: 66.66 kB / 439.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02813/0.6284, allocations: 11.29 MB / 450.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6284, allocations: 0 / 450.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.359e-05/0.6285, allocations: 23.94 kB / 450.4 MB, free: 10.09 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.001393/0.6299, allocations: 0.9084 MB / 451.3 MB, free: 9.164 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.6299, allocations: 8.031 kB / 451.3 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.6301, allocations: 90.97 kB / 451.4 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005757/0.6307, allocations: 433.7 kB / 451.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.555e-05/0.6308, allocations: 42.19 kB / 451.8 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.6309, allocations: 71.94 kB / 451.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001024/0.6319, allocations: 0.6257 MB / 452.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.6332, allocations: 0.8039 MB / 453.3 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.6332, allocations: 4 kB / 453.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.6333, allocations: 4 kB / 453.3 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.6333, allocations: 27.94 kB / 453.4 MB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.6362, allocations: 2.218 MB / 455.6 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007772/0.637, allocations: 0.5978 MB / 456.2 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.6374, allocations: 301.8 kB / 456.5 MB, free: 5.133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.448e-05/0.6375, allocations: 18.09 kB / 456.5 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005757/0.6381, allocations: 396.8 kB / 456.9 MB, free: 4.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 3.397e-06/0.6381, allocations: 0 / 456.9 MB, free: 4.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.0009398/0.6391, allocations: 0.5352 MB / 457.4 MB, free: 4.387 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.6391, allocations: 104.8 kB / 457.5 MB, free: 4.266 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.6394, allocations: 284.3 kB / 457.8 MB, free: 4.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.557e-05/0.6395, allocations: 55.81 kB / 457.9 MB, free: 3.992 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.6397, allocations: 304.9 kB / 458.2 MB, free: 3.734 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.6399, allocations: 227.6 kB / 458.4 MB, free: 3.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.64, allocations: 0 / 458.4 MB, free: 3.543 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6401, allocations: 364.2 kB / 458.7 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.6405, allocations: 231.7 kB / 459 MB, free: 3.066 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/0.641, allocations: 442.3 kB / 459.4 MB, free: 2.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.6414, allocations: 247.5 kB / 459.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.6414, allocations: 4 kB / 459.6 MB, free: 2.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00112/0.6426, allocations: 0.734 MB / 460.4 MB, free: 1.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.6426, allocations: 4 kB / 460.4 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.6426, allocations: 15.94 kB / 460.4 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.6427, allocations: 16 kB / 460.4 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.6431, allocations: 113.3 kB / 460.5 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.6431, allocations: 12 kB / 460.5 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.6434, allocations: 47.97 kB / 460.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-05/0.6435, allocations: 50.61 kB / 460.6 MB, free: 1.672 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 124 ($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,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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.0002117/0.6437, allocations: 185.1 kB / 460.8 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.655e-05/0.6438, allocations: 43.44 kB / 460.8 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.645, allocations: 0.6719 MB / 461.5 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.645, allocations: 15.95 kB / 461.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.645, allocations: 0 / 461.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.6451, allocations: 11.92 kB / 461.5 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.6474, allocations: 1.474 MB / 463 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.6474, allocations: 0 / 463 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.6477, allocations: 70.77 kB / 463.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.6477, allocations: 4 kB / 463.1 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.6478, allocations: 10.8 kB / 463.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.6478, allocations: 4 kB / 463.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.6478, allocations: 4 kB / 463.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/0.6488, allocations: 0.7376 MB / 463.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.716e-05/0.6489, allocations: 128.3 kB / 464 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.649, allocations: 11.42 kB / 464 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.6492, allocations: 31.97 kB / 464 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/0.6494, allocations: 103.9 kB / 464.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.6495, allocations: 35.3 kB / 464.2 MB, free: 14.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.6496, allocations: 142.5 kB / 464.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6496, allocations: 0 / 464.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000609/0.6502, allocations: 127.9 kB / 464.4 MB, free: 14.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 84 (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: 8 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0002381/0.6505, allocations: 159 kB / 464.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009073/0.6514, allocations: 0.6703 MB / 465.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6514, allocations: 0 / 465.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.6518, allocations: 341.7 kB / 465.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.6522, allocations: 67.81 kB / 465.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.6537, allocations: 0.8623 MB / 466.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.6543, allocations: 0.9684 MB / 467.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000326/0.6546, allocations: 109.9 kB / 467.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.6548, allocations: 70.78 kB / 467.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6548, allocations: 0 / 467.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of Templates: time 0.01207/0.6669, allocations: 6.463 MB / 474.1 MB, free: 5.133 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/ExecutionPaths/ExecutionPaths.csv","../files/Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches