Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_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_3.2.3_cpp_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.001595/0.001595, allocations: 181.3 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.087/3.087, allocations: 205.4 MB / 223.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.005148/0.005148, allocations: 102.3 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005265/0.0005267, allocations: 11.98 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4485, allocations: 47.58 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.6144, allocations: 76.48 MB / 452.2 MB, free: 4.156 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/0.6148, allocations: 67.97 kB / 452.3 MB, free: 4.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04791/0.6628, allocations: 11.61 MB / 463.9 MB, free: 8.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.97e-06/0.6629, allocations: 0 / 463.9 MB, free: 8.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.684e-05/0.663, allocations: 23.94 kB / 463.9 MB, free: 8.387 MB / 346.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.002867/0.6659, allocations: 0.9252 MB / 464.8 MB, free: 7.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.48e-05/0.6659, allocations: 12.03 kB / 464.8 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003938/0.6663, allocations: 91.91 kB / 464.9 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.6674, allocations: 447.5 kB / 465.4 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.6676, allocations: 86.38 kB / 465.4 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.6679, allocations: 108.4 kB / 465.5 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003459/0.6714, allocations: 0.9577 MB / 466.5 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/0.6715, allocations: 4.188 kB / 466.5 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.6716, allocations: 43.92 kB / 466.6 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/0.6717, allocations: 24 kB / 466.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.6742, allocations: 0.7027 MB / 467.3 MB, free: 4.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00612/0.6803, allocations: 2.392 MB / 469.7 MB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005956/0.6864, allocations: 0.657 MB / 470.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.6877, allocations: 338.6 kB / 470.7 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.6879, allocations: 18.31 kB / 470.7 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/0.689, allocations: 437.6 kB / 471.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 5.049e-06/0.6891, allocations: 0 / 471.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.002656/0.6917, allocations: 0.8357 MB / 471.9 MB, free: 80 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/0.692, allocations: 106 kB / 472 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007856/0.6928, allocations: 324 kB / 472.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002227/0.693, allocations: 69.69 kB / 472.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/0.6934, allocations: 305.1 kB / 472.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/0.6938, allocations: 245.1 kB / 473 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.6939, allocations: 24 kB / 473 MB, free: 14.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003603/0.6943, allocations: 366.7 kB / 473.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008525/0.6952, allocations: 266.5 kB / 473.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.6963, allocations: 483.6 kB / 474.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.6979, allocations: 0.6476 MB / 474.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/0.698, allocations: 4 kB / 474.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002472/0.7005, allocations: 0.8674 MB / 475.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.7005, allocations: 8.125 kB / 475.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.524e-05/0.7006, allocations: 8 kB / 475.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.274e-05/0.7006, allocations: 12 kB / 475.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/0.7014, allocations: 115.6 kB / 475.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-05/0.7014, allocations: 19.92 kB / 475.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007459/0.7022, allocations: 71.67 kB / 475.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/0.7024, allocations: 51.98 kB / 475.9 MB, free: 11.93 MB / 362.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 () * Number of clocked 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.001008/0.7034, allocations: 312.1 kB / 476.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.7036, allocations: 47.44 kB / 476.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/0.7062, allocations: 0.734 MB / 477 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/0.7062, allocations: 12 kB / 477 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.7062, allocations: 0 / 477 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/0.7063, allocations: 11.97 kB / 477 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004588/0.7109, allocations: 1.679 MB / 478.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.711, allocations: 0 / 478.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.7114, allocations: 71.83 kB / 478.7 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/0.7114, allocations: 4 kB / 478.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.687e-05/0.7115, allocations: 20 kB / 478.8 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.64e-05/0.7116, allocations: 11.92 kB / 478.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7116, allocations: 0 / 478.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.7135, allocations: 0.7856 MB / 479.6 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.7137, allocations: 124.4 kB / 479.7 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.7139, allocations: 24 kB / 479.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004761/0.7144, allocations: 43.97 kB / 479.7 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/0.7148, allocations: 100.8 kB / 479.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.7149, allocations: 32 kB / 479.9 MB, free: 7.809 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002511/0.7152, allocations: 156.5 kB / 480 MB, free: 7.656 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7152, allocations: 0 / 480 MB, free: 7.656 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001259/0.7165, allocations: 171.9 kB / 480.2 MB, free: 7.488 MB / 362.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) * Number of clocked states: 0 () * 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.0004274/0.7169, allocations: 167 kB / 480.4 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002238/0.7191, allocations: 0.7445 MB / 481.1 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.7192, allocations: 0 / 481.1 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009189/0.7201, allocations: 373.6 kB / 481.5 MB, free: 6.207 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009413/0.7211, allocations: 85.58 kB / 481.6 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.7249, allocations: 1.444 MB / 483 MB, free: 4.637 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007769/0.7257, allocations: 0.9454 MB / 483.9 MB, free: 3.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/0.7262, allocations: 75.41 kB / 484 MB, free: 3.59 MB / 362.7 MB Notification: Performance of SimCode: time 7.033e-06/0.7262, allocations: 0 / 484 MB, free: 3.59 MB / 362.7 MB Notification: Performance of Templates: time 0.02659/0.7529, allocations: 8.953 MB / 493 MB, free: 10.62 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ExecutionPaths --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ExecutionPaths_res.mat","/var/lib/jenkins1/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_cpp_Modelica.StateGraph.Examples.ExecutionPaths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches