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.001481/0.001481, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.903/1.903, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001124/0.001123, allocations: 89.31 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003901, allocations: 8 kB / 327 MB, free: 240 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.332, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.45, allocations: 76.45 MB / 451 MB, free: 4.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.4503, allocations: 71.97 kB / 451 MB, free: 4.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0456/0.4959, allocations: 11.6 MB / 462.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.496, allocations: 0 / 462.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.394e-05/0.4961, allocations: 27.94 kB / 462.7 MB, free: 8.578 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.001987/0.4981, allocations: 0.9212 MB / 463.6 MB, free: 7.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4981, allocations: 11.97 kB / 463.6 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.4984, allocations: 98.95 kB / 463.7 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008462/0.4992, allocations: 430.7 kB / 464.1 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.4994, allocations: 86 kB / 464.2 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.4996, allocations: 115.9 kB / 464.3 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.502, allocations: 0.9532 MB / 465.3 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.502, allocations: 0 / 465.3 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.5022, allocations: 36 kB / 465.3 MB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.5022, allocations: 27.98 kB / 465.3 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.5042, allocations: 0.7104 MB / 466 MB, free: 5.055 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004848/0.5091, allocations: 2.384 MB / 468.4 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.5107, allocations: 0.6584 MB / 469.1 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.5108, allocations: 20.94 kB / 469.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.5118, allocations: 429.8 kB / 469.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 3.848e-06/0.5118, allocations: 0 / 469.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.002276/0.5141, allocations: 0.8357 MB / 470.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.5142, allocations: 94.09 kB / 470.5 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.5146, allocations: 303.2 kB / 470.7 MB, free: 212 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.5148, allocations: 77.62 kB / 470.8 MB, free: 128 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.5151, allocations: 355.5 kB / 471.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.5154, allocations: 248.9 kB / 471.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.5155, allocations: 28.12 kB / 471.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5157, allocations: 350.8 kB / 471.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007724/0.5164, allocations: 270.5 kB / 472 MB, free: 14.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009497/0.5174, allocations: 483.6 kB / 472.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007439/0.5182, allocations: 270.4 kB / 472.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/0.5182, allocations: 4 kB / 472.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002173/0.5204, allocations: 0.8553 MB / 473.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.5204, allocations: 11.95 kB / 473.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.5205, allocations: 11.98 kB / 473.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.909e-05/0.5205, allocations: 12 kB / 473.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007346/0.5213, allocations: 112.3 kB / 473.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.763e-05/0.5213, allocations: 15.94 kB / 473.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/0.5219, allocations: 71.67 kB / 473.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.522, allocations: 47.98 kB / 473.9 MB, free: 12.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.0006331/0.5226, allocations: 311.5 kB / 474.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.5228, allocations: 47.42 kB / 474.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.5248, allocations: 0.7455 MB / 475 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.5249, allocations: 15.98 kB / 475 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.5249, allocations: 0 / 475 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.5249, allocations: 3.984 kB / 475 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/0.529, allocations: 1.675 MB / 476.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.5291, allocations: 0 / 476.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.5296, allocations: 67.83 kB / 476.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/0.5296, allocations: 4 kB / 476.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/0.5297, allocations: 23.98 kB / 476.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.425e-05/0.5297, allocations: 11.95 kB / 476.8 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5298, allocations: 3.938 kB / 476.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.5315, allocations: 0.7951 MB / 477.6 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.5316, allocations: 124.5 kB / 477.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.5317, allocations: 23.95 kB / 477.8 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/0.5321, allocations: 43.97 kB / 477.8 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/0.5324, allocations: 104.8 kB / 477.9 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-05/0.5325, allocations: 35.98 kB / 477.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000189/0.5327, allocations: 148.5 kB / 478.1 MB, free: 8.645 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5327, allocations: 0 / 478.1 MB, free: 8.645 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008444/0.5336, allocations: 175.8 kB / 478.3 MB, free: 8.473 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.0002906/0.5339, allocations: 166.8 kB / 478.4 MB, free: 8.301 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.5358, allocations: 0.7378 MB / 479.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5358, allocations: 4.188 kB / 479.2 MB, free: 7.559 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008754/0.5367, allocations: 377.5 kB / 479.5 MB, free: 7.191 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.5372, allocations: 70.42 kB / 479.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.5402, allocations: 1.433 MB / 481 MB, free: 5.648 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/0.5409, allocations: 0.9549 MB / 482 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.5413, allocations: 75.42 kB / 482.1 MB, free: 4.59 MB / 362.7 MB Notification: Performance of SimCode: time 5.741e-06/0.5413, allocations: 0 / 482.1 MB, free: 4.59 MB / 362.7 MB Notification: Performance of Templates: time 0.02025/0.5616, allocations: 8.762 MB / 490.8 MB, free: 11.81 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