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.0009317/0.0009317, allocations: 172.3 kB / 14.1 MB, free: 1.223 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.496/1.496, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008312/0.0008313, allocations: 78.66 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.611e-05, allocations: 11.98 kB / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 47.57 MB / 370 MB, free: 1.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.4893, allocations: 76.35 MB / 446.4 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4896, allocations: 62.91 kB / 446.4 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02934/0.519, allocations: 11.58 MB / 458 MB, free: 6.879 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.347e-06/0.5191, allocations: 0 / 458 MB, free: 6.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.36e-05/0.5191, allocations: 27.94 kB / 458 MB, free: 6.852 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.00154/0.5207, allocations: 0.9134 MB / 458.9 MB, free: 5.859 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.5208, allocations: 12.03 kB / 458.9 MB, free: 5.848 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.5209, allocations: 90.97 kB / 459 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006979/0.5217, allocations: 430 kB / 459.5 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.324e-05/0.5218, allocations: 82 kB / 459.5 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.5219, allocations: 115.9 kB / 459.6 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.5236, allocations: 0.93 MB / 460.6 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.5236, allocations: 4 kB / 460.6 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.698e-05/0.5237, allocations: 39.98 kB / 460.6 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.5237, allocations: 24 kB / 460.6 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.5249, allocations: 0.6872 MB / 461.3 MB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/0.5282, allocations: 2.388 MB / 463.7 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009551/0.5291, allocations: 0.6494 MB / 464.4 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004804/0.5296, allocations: 343.8 kB / 464.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.282e-05/0.5297, allocations: 10.11 kB / 464.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006498/0.5304, allocations: 421 kB / 465.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 3.096e-06/0.5304, allocations: 0 / 465.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.00106/0.5315, allocations: 0.5895 MB / 465.7 MB, free: 14.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.5316, allocations: 105.9 kB / 465.8 MB, free: 14.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.5319, allocations: 296.2 kB / 466.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-05/0.532, allocations: 73.69 kB / 466.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.5322, allocations: 301 kB / 466.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.5325, allocations: 244.9 kB / 466.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.5325, allocations: 24 kB / 466.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.5327, allocations: 370.8 kB / 467.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.5332, allocations: 250.6 kB / 467.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.5338, allocations: 475.7 kB / 467.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.5343, allocations: 268.9 kB / 468.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.5343, allocations: 0 / 468.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001321/0.5357, allocations: 0.8513 MB / 468.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.5357, allocations: 4 kB / 468.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5357, allocations: 8 kB / 468.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/0.5358, allocations: 12 kB / 468.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.5362, allocations: 112.4 kB / 469.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.593e-05/0.5362, allocations: 15.94 kB / 469.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.5366, allocations: 71.73 kB / 469.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.532e-05/0.5367, allocations: 51.92 kB / 469.2 MB, free: 11.26 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.0002475/0.5369, allocations: 218.7 kB / 469.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.537, allocations: 47.39 kB / 469.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.5382, allocations: 0.7339 MB / 470.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.5382, allocations: 12 kB / 470.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5383, allocations: 3.938 kB / 470.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.5383, allocations: 11.92 kB / 470.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.5409, allocations: 1.663 MB / 471.9 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5409, allocations: 0 / 471.9 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.5412, allocations: 63.84 kB / 471.9 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.5412, allocations: 4 kB / 471.9 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.5412, allocations: 27.94 kB / 472 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.5413, allocations: 8 kB / 472 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5413, allocations: 3.938 kB / 472 MB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.5424, allocations: 0.7718 MB / 472.7 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.5425, allocations: 132.3 kB / 472.9 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.187e-05/0.5426, allocations: 23.95 kB / 472.9 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.5428, allocations: 47.97 kB / 472.9 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.543, allocations: 96.84 kB / 473 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.38e-05/0.5431, allocations: 35.98 kB / 473.1 MB, free: 7.258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.5433, allocations: 149.4 kB / 473.2 MB, free: 7.113 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5433, allocations: 0 / 473.2 MB, free: 7.113 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006089/0.5439, allocations: 168 kB / 473.4 MB, free: 6.949 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.0002801/0.5442, allocations: 179 kB / 473.6 MB, free: 6.762 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.5453, allocations: 0.7223 MB / 474.3 MB, free: 6.039 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5453, allocations: 4.188 kB / 474.3 MB, free: 6.035 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.5459, allocations: 365.7 kB / 474.6 MB, free: 5.676 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.5462, allocations: 72.38 kB / 474.7 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.548, allocations: 0.9165 MB / 475.6 MB, free: 4.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/0.5487, allocations: 0.9704 MB / 476.6 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003238/0.549, allocations: 105.9 kB / 476.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.5492, allocations: 71.41 kB / 476.8 MB, free: 3.484 MB / 346.7 MB Notification: Performance of SimCode: time 2.715e-06/0.5492, allocations: 4 kB / 476.8 MB, free: 3.48 MB / 346.7 MB Notification: Performance of Templates: time 0.013/0.5622, allocations: 6.618 MB / 483.4 MB, free: 12.87 MB / 362.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