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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001697/0.001697, allocations: 183.7 kB / 8.479 MB, free: 1.875 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.31/1.31, allocations: 205.2 MB / 214.1 MB, free: 5.449 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009585/0.0009586, allocations: 83.33 kB / 262.1 MB, free: 5.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.35e-06/5.37e-06, allocations: 0 / 315 MB, free: 41.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07411/0.07413, allocations: 47.58 MB / 362.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2673/0.3415, allocations: 75.62 MB / 438.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.3418, allocations: 62.47 kB / 438.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02736/0.3692, allocations: 10.95 MB / 449.2 MB, free: 8.648 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.654e-05/0.3693, allocations: 22.98 kB / 449.2 MB, free: 8.645 MB / 314.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.001463/0.3707, allocations: 0.9046 MB / 450.1 MB, free: 7.957 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3708, allocations: 11.56 kB / 450.1 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.371, allocations: 93.27 kB / 450.2 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000575/0.3715, allocations: 438 kB / 450.6 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.3716, allocations: 37.53 kB / 450.7 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.3717, allocations: 64.19 kB / 450.7 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001014/0.3727, allocations: 0.6475 MB / 451.4 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.3739, allocations: 0.8116 MB / 452.2 MB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.3739, allocations: 0 / 452.2 MB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/0.374, allocations: 3.969 kB / 452.2 MB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.374, allocations: 22 kB / 452.2 MB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.3766, allocations: 2.185 MB / 454.4 MB, free: 6.055 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006733/0.3773, allocations: 0.5546 MB / 454.9 MB, free: 5.953 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.3776, allocations: 299 kB / 455.2 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.879e-05/0.3777, allocations: 16.03 kB / 455.2 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/0.3782, allocations: 393.8 kB / 455.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 2.344e-06/0.3782, allocations: 0 / 455.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=99): time 0.0008137/0.379, allocations: 0.5019 MB / 456.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3791, allocations: 101.4 kB / 456.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.3793, allocations: 290.8 kB / 456.5 MB, free: 5.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-05/0.3794, allocations: 52.03 kB / 456.6 MB, free: 5.352 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3795, allocations: 275.7 kB / 456.8 MB, free: 5.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.3796, allocations: 236.1 kB / 457.1 MB, free: 5.012 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.3797, allocations: 0 / 457.1 MB, free: 5.012 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3798, allocations: 364.5 kB / 457.4 MB, free: 4.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.3801, allocations: 233.3 kB / 457.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.3805, allocations: 441.7 kB / 458.1 MB, free: 4.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.3809, allocations: 247.6 kB / 458.3 MB, free: 4.371 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3809, allocations: 0 / 458.3 MB, free: 4.371 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0009606/0.3819, allocations: 0.7438 MB / 459.1 MB, free: 4.191 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3819, allocations: 3.75 kB / 459.1 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3819, allocations: 7.594 kB / 459.1 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.382, allocations: 11.38 kB / 459.1 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.3823, allocations: 114.8 kB / 459.2 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3824, allocations: 15.36 kB / 459.2 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.3827, allocations: 46.39 kB / 459.3 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.212e-05/0.3827, allocations: 49.3 kB / 459.3 MB, free: 4.129 MB / 314.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.0001658/0.3829, allocations: 192 kB / 459.5 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.383, allocations: 53.38 kB / 459.6 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.384, allocations: 0.6198 MB / 460.2 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.384, allocations: 11.88 kB / 460.2 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3841, allocations: 3.906 kB / 460.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3841, allocations: 9.281 kB / 460.2 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.3864, allocations: 1.436 MB / 461.6 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3864, allocations: 1.188 kB / 461.6 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.3867, allocations: 75.83 kB / 461.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.3867, allocations: 3.969 kB / 461.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.3867, allocations: 7.891 kB / 461.7 MB, free: 3.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.3867, allocations: 3.875 kB / 461.7 MB, free: 3.141 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3867, allocations: 5.156 kB / 461.7 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001007/0.3877, allocations: 0.6903 MB / 462.4 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.3878, allocations: 124.4 kB / 462.5 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.3879, allocations: 2.531 kB / 462.5 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.3881, allocations: 31.16 kB / 462.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.3883, allocations: 107.2 kB / 462.7 MB, free: 2.684 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/0.3884, allocations: 30.78 kB / 462.7 MB, free: 2.684 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.686e-05/0.3885, allocations: 140.8 kB / 462.8 MB, free: 2.598 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005513/0.389, allocations: 129 kB / 463 MB, free: 2.594 MB / 314.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.0002102/0.3893, allocations: 151.2 kB / 463.1 MB, free: 2.477 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009403/0.3902, allocations: 0.6721 MB / 463.8 MB, free: 2.418 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3902, allocations: 1.125 kB / 463.8 MB, free: 2.418 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.3907, allocations: 362 kB / 464.1 MB, free: 2.383 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.3911, allocations: 55.09 kB / 464.2 MB, free: 2.367 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.393, allocations: 0.8795 MB / 465.1 MB, free: 2.031 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005914/0.3936, allocations: 1.037 MB / 466.1 MB, free: 1.203 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3936, allocations: 4 kB / 466.1 MB, free: 1.199 MB / 314.7 MB Notification: Performance of Templates: time 0.01655/0.4102, allocations: 7.647 MB / 473.8 MB, free: 13.54 MB / 330.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