Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.5 MB / 230.3 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009033/0.0009032, allocations: 88.8 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.368e-05/1.372e-05, allocations: 4 kB / 337 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.0965, allocations: 50.41 MB / 387.4 MB, free: 7.602 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/0.4057, allocations: 76.67 MB / 464.1 MB, free: 2.242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.4059, allocations: 63.97 kB / 464.2 MB, free: 2.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0296/0.4355, allocations: 11.61 MB / 475.8 MB, free: 6.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4356, allocations: 0 / 475.8 MB, free: 6.473 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.571e-05/0.4356, allocations: 27.94 kB / 475.8 MB, free: 6.445 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.001563/0.4372, allocations: 0.9134 MB / 476.7 MB, free: 5.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4373, allocations: 8.031 kB / 476.7 MB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.4374, allocations: 90.97 kB / 476.8 MB, free: 5.359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000626/0.4381, allocations: 442.2 kB / 477.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.4381, allocations: 40 kB / 477.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.4382, allocations: 75.94 kB / 477.4 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001129/0.4394, allocations: 0.6287 MB / 478 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.4407, allocations: 0.8136 MB / 478.8 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.4408, allocations: 3.984 kB / 478.8 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.4409, allocations: 7.953 kB / 478.8 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.4409, allocations: 24 kB / 478.9 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.4439, allocations: 2.315 MB / 481.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007933/0.4447, allocations: 0.6181 MB / 481.8 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.4451, allocations: 302.5 kB / 482.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.772e-05/0.4452, allocations: 22.05 kB / 482.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000566/0.4457, allocations: 404.5 kB / 482.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 2.775e-06/0.4457, allocations: 0 / 482.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=100): time 0.0009511/0.4467, allocations: 0.5543 MB / 483.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.4468, allocations: 131.6 kB / 483.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.447, allocations: 279.7 kB / 483.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.292e-05/0.4471, allocations: 53.69 kB / 483.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.4473, allocations: 305 kB / 483.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.4475, allocations: 225 kB / 484 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.4475, allocations: 0 / 484 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4477, allocations: 362.8 kB / 484.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.4481, allocations: 238.6 kB / 484.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/0.4486, allocations: 446 kB / 485 MB, free: 12.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.449, allocations: 246.3 kB / 485.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.449, allocations: 4 kB / 485.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001112/0.4501, allocations: 0.7501 MB / 486 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4502, allocations: 8 kB / 486 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4502, allocations: 4 kB / 486.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.4502, allocations: 12 kB / 486.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.4507, allocations: 115.6 kB / 486.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.4507, allocations: 19.92 kB / 486.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.451, allocations: 52.06 kB / 486.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.187e-05/0.4511, allocations: 59.92 kB / 486.3 MB, free: 11.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 126 ($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,$PRE.transition7.t_start,transition7.t_start,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 (156): * Single equations (assignments): 156 * 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.0001938/0.4513, allocations: 188.5 kB / 486.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.4514, allocations: 51.44 kB / 486.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.4526, allocations: 0.6634 MB / 487.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.4526, allocations: 12 kB / 487.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4526, allocations: 0 / 487.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.4527, allocations: 3.984 kB / 487.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.4549, allocations: 1.49 MB / 488.7 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.455, allocations: 4 kB / 488.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.4552, allocations: 67.83 kB / 488.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.742e-05/0.4553, allocations: 7.984 kB / 488.8 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.4553, allocations: 11.98 kB / 488.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4553, allocations: 4 kB / 488.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4553, allocations: 0 / 488.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.4564, allocations: 0.7596 MB / 489.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.4565, allocations: 132.3 kB / 489.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.4565, allocations: 8 kB / 489.7 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.4567, allocations: 27.97 kB / 489.7 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.4569, allocations: 109.1 kB / 489.8 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.022e-05/0.457, allocations: 28 kB / 489.9 MB, free: 7.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.4571, allocations: 144.5 kB / 490 MB, free: 7.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4571, allocations: 0 / 490 MB, free: 7.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004968/0.4576, allocations: 136 kB / 490.1 MB, free: 7.598 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 85 (transition7.t_start,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: 9 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive,transition7.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0002063/0.4578, allocations: 151 kB / 490.3 MB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009319/0.4588, allocations: 0.6708 MB / 491 MB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4588, allocations: 0.5 kB / 491 MB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.4592, allocations: 356.8 kB / 491.3 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.4596, allocations: 68.3 kB / 491.4 MB, free: 6.359 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.461, allocations: 0.8811 MB / 492.3 MB, free: 5.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.4616, allocations: 0.9702 MB / 493.2 MB, free: 4.445 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003056/0.4619, allocations: 114 kB / 493.3 MB, free: 4.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.4621, allocations: 71.41 kB / 493.4 MB, free: 4.262 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4621, allocations: 0 / 493.4 MB, free: 4.262 MB / 362.7 MB Notification: Performance of Templates: time 0.01205/0.4741, allocations: 6.503 MB / 499.9 MB, free: 13.8 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ExecutionPaths/ExecutionPaths.csv","../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches