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.002236/0.002236, allocations: 180.1 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001087, allocations: 80.92 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.195e-05/2.202e-05, allocations: 4 kB / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3643, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.5266, allocations: 75.69 MB / 438 MB, free: 10.63 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.5269, allocations: 63.97 kB / 438.1 MB, free: 10.57 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04828/0.5752, allocations: 11.29 MB / 449.4 MB, free: 15.28 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5752, allocations: 0 / 449.4 MB, free: 15.28 MB / 347.1 MB Notification: Performance of Transformations before backend: time 5.828e-05/0.5753, allocations: 23.94 kB / 449.4 MB, free: 15.25 MB / 347.1 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.002306/0.5776, allocations: 0.8996 MB / 450.3 MB, free: 14.28 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.5777, allocations: 20.02 kB / 450.3 MB, free: 14.26 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/0.578, allocations: 90.97 kB / 450.4 MB, free: 14.17 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.5791, allocations: 434 kB / 450.8 MB, free: 13.71 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.703e-05/0.5792, allocations: 44 kB / 450.9 MB, free: 13.66 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.5794, allocations: 71.94 kB / 450.9 MB, free: 13.59 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001986/0.5814, allocations: 0.6248 MB / 451.6 MB, free: 12.97 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.5836, allocations: 0.8069 MB / 452.4 MB, free: 12.14 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.5837, allocations: 3.562 kB / 452.4 MB, free: 12.14 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.875e-05/0.5838, allocations: 8 kB / 452.4 MB, free: 12.13 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.5838, allocations: 20 kB / 452.4 MB, free: 12.11 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005222/0.5891, allocations: 2.223 MB / 454.6 MB, free: 9.832 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.5905, allocations: 0.598 MB / 455.2 MB, free: 9.207 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/0.5912, allocations: 303.8 kB / 455.5 MB, free: 8.906 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-05/0.5914, allocations: 20.77 kB / 455.5 MB, free: 8.887 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000905/0.5923, allocations: 398.3 kB / 455.9 MB, free: 8.477 MB / 347.1 MB Notification: Performance of pre-optimization done (n=99): time 3.998e-06/0.5923, allocations: 0 / 455.9 MB, free: 8.477 MB / 347.1 MB Notification: Performance of matching and sorting (n=99): time 0.001669/0.594, allocations: 0.5349 MB / 456.5 MB, free: 7.938 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/0.5941, allocations: 105.8 kB / 456.6 MB, free: 7.812 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.5946, allocations: 291.6 kB / 456.8 MB, free: 7.52 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.5948, allocations: 53.69 kB / 456.9 MB, free: 7.461 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.5952, allocations: 355.4 kB / 457.2 MB, free: 7.109 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.5955, allocations: 236.9 kB / 457.5 MB, free: 6.875 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.5956, allocations: 0 / 457.5 MB, free: 6.875 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.5958, allocations: 354.8 kB / 457.8 MB, free: 6.52 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006607/0.5964, allocations: 230.6 kB / 458 MB, free: 6.297 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008434/0.5973, allocations: 437.2 kB / 458.5 MB, free: 5.789 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007504/0.5981, allocations: 242.2 kB / 458.7 MB, free: 5.559 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.5981, allocations: 4 kB / 458.7 MB, free: 5.555 MB / 347.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002019/0.6001, allocations: 0.7312 MB / 459.4 MB, free: 4.816 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.6002, allocations: 7.984 kB / 459.5 MB, free: 4.809 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.6002, allocations: 11.95 kB / 459.5 MB, free: 4.797 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.057e-05/0.6003, allocations: 12 kB / 459.5 MB, free: 4.785 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/0.6011, allocations: 111.6 kB / 459.6 MB, free: 4.676 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/0.6011, allocations: 12 kB / 459.6 MB, free: 4.664 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/0.6017, allocations: 47.78 kB / 459.6 MB, free: 4.617 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.6019, allocations: 51.98 kB / 459.7 MB, free: 4.566 MB / 347.1 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.0003087/0.6022, allocations: 174.7 kB / 459.9 MB, free: 4.383 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.6023, allocations: 51.42 kB / 459.9 MB, free: 4.332 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.6044, allocations: 0.6673 MB / 460.6 MB, free: 3.66 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.6044, allocations: 15.95 kB / 460.6 MB, free: 3.645 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.6045, allocations: 0 / 460.6 MB, free: 3.645 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.6045, allocations: 7.922 kB / 460.6 MB, free: 3.637 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004078/0.6086, allocations: 1.475 MB / 462.1 MB, free: 2.121 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.6086, allocations: 0 / 462.1 MB, free: 2.121 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.6092, allocations: 79.77 kB / 462.2 MB, free: 2.043 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/0.6092, allocations: 7 kB / 462.2 MB, free: 2.039 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.6093, allocations: 7.984 kB / 462.2 MB, free: 2.031 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.6093, allocations: 4 kB / 462.2 MB, free: 2.027 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6093, allocations: 0 / 462.2 MB, free: 2.027 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.6112, allocations: 0.7418 MB / 462.9 MB, free: 1.258 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.6114, allocations: 128.4 kB / 463 MB, free: 1.113 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.6115, allocations: 0 / 463 MB, free: 1.113 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.6119, allocations: 31.97 kB / 463.1 MB, free: 1.082 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/0.6123, allocations: 109 kB / 463.2 MB, free: 0.9727 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.937e-05/0.6124, allocations: 35.98 kB / 463.2 MB, free: 0.9375 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.6126, allocations: 140.5 kB / 463.4 MB, free: 0.8008 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6126, allocations: 0 / 463.4 MB, free: 0.8008 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0009355/0.6135, allocations: 131.9 kB / 463.5 MB, free: 0.6719 MB / 347.1 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.0003692/0.6139, allocations: 154.6 kB / 463.6 MB, free: 0.5156 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.6157, allocations: 0.6698 MB / 464.3 MB, free: 15.84 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.6158, allocations: 4 kB / 464.3 MB, free: 15.84 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008415/0.6166, allocations: 340.9 kB / 464.6 MB, free: 15.51 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.6173, allocations: 56.19 kB / 464.7 MB, free: 15.46 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.6198, allocations: 0.8859 MB / 465.6 MB, free: 14.54 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.6205, allocations: 0.9622 MB / 466.5 MB, free: 13.55 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/0.621, allocations: 71.41 kB / 466.6 MB, free: 13.48 MB / 363.1 MB Notification: Performance of SimCode: time 1.002e-06/0.621, allocations: 0 / 466.6 MB, free: 13.48 MB / 363.1 MB Notification: Performance of Templates: time 0.02214/0.6431, allocations: 8.717 MB / 475.3 MB, free: 4.781 MB / 363.1 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