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.001461/0.001465, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001067/0.001066, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.848e-05/2.881e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09613/0.09618, allocations: 47.58 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4128/0.5091, allocations: 76.35 MB / 445.4 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/0.5095, allocations: 66.84 kB / 445.5 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05473/0.5643, allocations: 11.57 MB / 457.1 MB, free: 6.809 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.5643, allocations: 0 / 457.1 MB, free: 6.809 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.43e-05/0.5644, allocations: 23.94 kB / 457.1 MB, free: 6.785 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.002238/0.5667, allocations: 0.9004 MB / 458 MB, free: 5.867 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.5667, allocations: 11.97 kB / 458 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.567, allocations: 90.97 kB / 458.1 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009127/0.568, allocations: 433.7 kB / 458.5 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.5681, allocations: 88 kB / 458.6 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.5683, allocations: 114.5 kB / 458.7 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.5709, allocations: 0.9357 MB / 459.6 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.571, allocations: 0 / 459.6 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.5711, allocations: 39.98 kB / 459.7 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.5712, allocations: 24 kB / 459.7 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.5733, allocations: 0.6872 MB / 460.4 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005732/0.5791, allocations: 2.384 MB / 462.8 MB, free: 1.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.5807, allocations: 0.6545 MB / 463.4 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007777/0.5815, allocations: 331.8 kB / 463.8 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.5816, allocations: 20.77 kB / 463.8 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.5827, allocations: 417 kB / 464.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 4.058e-06/0.5827, allocations: 0 / 464.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.001696/0.5844, allocations: 0.5934 MB / 464.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.476e-05/0.5846, allocations: 105.9 kB / 464.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.5851, allocations: 296.2 kB / 465.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.5853, allocations: 69.7 kB / 465.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.5856, allocations: 359.4 kB / 465.6 MB, free: 14.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/0.586, allocations: 248.9 kB / 465.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.5861, allocations: 28 kB / 465.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.5863, allocations: 358.7 kB / 466.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007733/0.5871, allocations: 254.6 kB / 466.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009793/0.5881, allocations: 475.7 kB / 466.9 MB, free: 12.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/0.5889, allocations: 264.9 kB / 467.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.5889, allocations: 4 kB / 467.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002213/0.5911, allocations: 0.8403 MB / 468 MB, free: 11.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.5912, allocations: 8 kB / 468 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.5912, allocations: 4 kB / 468 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.611e-05/0.5913, allocations: 12 kB / 468.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007695/0.592, allocations: 115.7 kB / 468.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.3e-05/0.5921, allocations: 15.94 kB / 468.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005999/0.5927, allocations: 67.72 kB / 468.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.5929, allocations: 52.03 kB / 468.3 MB, free: 11.54 MB / 346.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.000347/0.5932, allocations: 218.7 kB / 468.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.5934, allocations: 51.39 kB / 468.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.5954, allocations: 0.7299 MB / 469.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.5954, allocations: 8 kB / 469.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.5955, allocations: 4 kB / 469.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/0.5955, allocations: 11.91 kB / 469.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/0.5998, allocations: 1.655 MB / 471 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.5999, allocations: 0 / 471 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/0.6004, allocations: 67.84 kB / 471 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/0.6004, allocations: 4 kB / 471 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/0.6005, allocations: 27.94 kB / 471.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/0.6005, allocations: 8 kB / 471.1 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6006, allocations: 0 / 471.1 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.6023, allocations: 0.7873 MB / 471.9 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.6025, allocations: 124.4 kB / 472 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.6026, allocations: 23.95 kB / 472 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.6031, allocations: 39.97 kB / 472 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/0.6034, allocations: 104.8 kB / 472.1 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.476e-05/0.6035, allocations: 32 kB / 472.2 MB, free: 7.547 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002069/0.6037, allocations: 153.4 kB / 472.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6038, allocations: 0 / 472.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00092/0.6047, allocations: 167.9 kB / 472.5 MB, free: 7.238 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.0003398/0.6051, allocations: 171 kB / 472.7 MB, free: 7.059 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002/0.6071, allocations: 0.725 MB / 473.4 MB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6071, allocations: 4 kB / 473.4 MB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.6082, allocations: 367.1 kB / 473.7 MB, free: 5.969 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.6088, allocations: 76.39 kB / 473.8 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.6116, allocations: 0.93 MB / 474.8 MB, free: 4.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/0.6123, allocations: 0.9547 MB / 475.7 MB, free: 3.945 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.6128, allocations: 71.42 kB / 475.8 MB, free: 3.875 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6128, allocations: 0 / 475.8 MB, free: 3.875 MB / 346.7 MB Notification: Performance of Templates: time 0.02205/0.6349, allocations: 8.763 MB / 484.5 MB, free: 11.09 MB / 362.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