Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 196.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008278/0.000828, allocations: 92.69 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.432e-05/1.446e-05, allocations: 4 kB / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 51.47 MB / 395.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3441/0.4526, allocations: 77.48 MB / 472.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001662/0.4528, allocations: 67.41 kB / 472.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02636/0.4791, allocations: 11.6 MB / 484.3 MB, free: 5.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4792, allocations: 0 / 484.3 MB, free: 5.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.414e-05/0.4792, allocations: 31.92 kB / 484.3 MB, free: 5.836 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.001093/0.4803, allocations: 0.9076 MB / 485.2 MB, free: 4.922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.4804, allocations: 12.03 kB / 485.2 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.4805, allocations: 90.97 kB / 485.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.481, allocations: 443.5 kB / 485.8 MB, free: 4.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/0.4811, allocations: 39.44 kB / 485.8 MB, free: 4.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.4812, allocations: 75.38 kB / 485.9 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009314/0.4821, allocations: 0.6281 MB / 486.5 MB, free: 3.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.4833, allocations: 0.8112 MB / 487.3 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.4833, allocations: 0 / 487.3 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.4833, allocations: 4 kB / 487.3 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.4834, allocations: 24 kB / 487.3 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.4857, allocations: 2.313 MB / 489.7 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.4864, allocations: 0.618 MB / 490.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.4867, allocations: 310.7 kB / 490.6 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.15e-05/0.4868, allocations: 18.06 kB / 490.6 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005063/0.4873, allocations: 413.2 kB / 491 MB, free: 420 kB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 2.184e-06/0.4873, allocations: 0 / 491 MB, free: 420 kB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.0008788/0.4882, allocations: 0.5484 MB / 491.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.4883, allocations: 130.4 kB / 491.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.4886, allocations: 284.4 kB / 492 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-05/0.4887, allocations: 48.5 kB / 492 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.4889, allocations: 302.7 kB / 492.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.4892, allocations: 227.4 kB / 492.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.4892, allocations: 0 / 492.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.4894, allocations: 370.2 kB / 492.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.4898, allocations: 237.1 kB / 493.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.4903, allocations: 438.8 kB / 493.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.4907, allocations: 250.6 kB / 493.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4907, allocations: 0 / 493.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001102/0.4918, allocations: 0.7486 MB / 494.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.4919, allocations: 15.89 kB / 494.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.4919, allocations: 8 kB / 494.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.4919, allocations: 12 kB / 494.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.4924, allocations: 119.8 kB / 494.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/0.4924, allocations: 15.98 kB / 494.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.4927, allocations: 47.67 kB / 494.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.241e-05/0.4928, allocations: 47.48 kB / 494.8 MB, free: 13.21 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.0002542/0.4931, allocations: 190.6 kB / 495 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.4932, allocations: 47.44 kB / 495 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.4944, allocations: 0.6754 MB / 495.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.4944, allocations: 12 kB / 495.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4944, allocations: 4 kB / 495.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.4945, allocations: 7.969 kB / 495.7 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.4967, allocations: 1.474 MB / 497.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4967, allocations: 0 / 497.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.497, allocations: 70.27 kB / 497.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.879e-05/0.4971, allocations: 4 kB / 497.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.4971, allocations: 11.42 kB / 497.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.4971, allocations: 12 kB / 497.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.4971, allocations: 3.953 kB / 497.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.4982, allocations: 0.7509 MB / 498.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.837e-05/0.4982, allocations: 129.8 kB / 498.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.4983, allocations: 15.2 kB / 498.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.4985, allocations: 27.97 kB / 498.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.4987, allocations: 105.3 kB / 498.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/0.4988, allocations: 34.67 kB / 498.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.4989, allocations: 136.5 kB / 498.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4989, allocations: 4 kB / 498.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005478/0.4995, allocations: 132 kB / 498.6 MB, free: 9.949 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.0002433/0.4997, allocations: 160.7 kB / 498.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009303/0.5007, allocations: 0.6738 MB / 499.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5007, allocations: 0 / 499.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.5011, allocations: 355.2 kB / 499.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.5015, allocations: 57.34 kB / 499.9 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.5029, allocations: 0.8813 MB / 0.489 GB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.5034, allocations: 0.9659 MB / 0.4899 GB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003206/0.5038, allocations: 114 kB / 0.4901 GB, free: 7.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.504, allocations: 67.23 kB / 0.4901 GB, free: 7.074 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.504, allocations: 4 kB / 0.4901 GB, free: 7.07 MB / 362.7 MB Notification: Performance of Templates: time 0.01207/0.5161, allocations: 6.508 MB / 0.4965 GB, free: 0.6758 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.StateGraph.Examples.ExecutionPaths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches