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") [: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 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 186 kB / 8.136 MB, free: 2.195 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.254/1.254, allocations: 221.4 MB / 229.9 MB, free: 3.078 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.0008809/0.0008809, allocations: 99.38 kB / 280.8 MB, free: 1.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.663e-06/6.703e-06, allocations: 0 / 336.5 MB, free: 9.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2135, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08594/0.2995, allocations: 76.6 MB / 463.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.2997, allocations: 72.67 kB / 463.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02941/0.3292, allocations: 11.28 MB / 474.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.936e-05/0.3292, allocations: 28.38 kB / 474.9 MB, free: 14.8 MB / 362.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.001334/0.3306, allocations: 0.909 MB / 475.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3306, allocations: 8.031 kB / 475.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.3308, allocations: 98.88 kB / 475.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/0.3314, allocations: 442.2 kB / 476.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.3315, allocations: 47.89 kB / 476.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.3316, allocations: 64 kB / 476.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001116/0.3327, allocations: 0.6404 MB / 477.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.334, allocations: 0.8175 MB / 477.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.3341, allocations: 0 / 477.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.3341, allocations: 8 kB / 477.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.3342, allocations: 24 kB / 477.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/0.337, allocations: 2.28 MB / 480.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008018/0.3378, allocations: 0.5822 MB / 480.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003998/0.3383, allocations: 300.9 kB / 481.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.538e-05/0.3383, allocations: 20.77 kB / 481.1 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005444/0.3389, allocations: 400.8 kB / 481.5 MB, free: 7.922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 2.966e-06/0.3389, allocations: 0 / 481.5 MB, free: 7.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=100): time 0.00093/0.3398, allocations: 0.506 MB / 482 MB, free: 7.406 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.3399, allocations: 123.6 kB / 482.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.3402, allocations: 295.4 kB / 482.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.515e-05/0.3403, allocations: 45.7 kB / 482.4 MB, free: 6.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.3405, allocations: 281.1 kB / 482.7 MB, free: 6.629 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.3407, allocations: 233 kB / 482.9 MB, free: 6.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.3407, allocations: 0 / 482.9 MB, free: 6.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3409, allocations: 378.7 kB / 483.3 MB, free: 6.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.3413, allocations: 226.6 kB / 483.5 MB, free: 5.797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.3419, allocations: 446.1 kB / 484 MB, free: 5.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.3424, allocations: 250.2 kB / 484.2 MB, free: 5.039 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3424, allocations: 0 / 484.2 MB, free: 5.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.0012/0.3436, allocations: 0.7434 MB / 485 MB, free: 4.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3436, allocations: 4.781 kB / 485 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3436, allocations: 11.94 kB / 485 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.3436, allocations: 16 kB / 485 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.3441, allocations: 123.6 kB / 485.1 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.3441, allocations: 15.94 kB / 485.1 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.3444, allocations: 51.66 kB / 485.2 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-05/0.3445, allocations: 48 kB / 485.2 MB, free: 4.023 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.000234/0.3448, allocations: 186.9 kB / 485.4 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.915e-05/0.3449, allocations: 51.34 kB / 485.5 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.3461, allocations: 0.6227 MB / 486.1 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.3461, allocations: 16 kB / 486.1 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3461, allocations: 3.906 kB / 486.1 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.3461, allocations: 3.984 kB / 486.1 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.3485, allocations: 1.442 MB / 487.5 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3486, allocations: 4 kB / 487.5 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.3489, allocations: 71.83 kB / 487.6 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.3489, allocations: 4 kB / 487.6 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.3489, allocations: 11.98 kB / 487.6 MB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.3489, allocations: 7.906 kB / 487.6 MB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3489, allocations: 0 / 487.6 MB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00103/0.35, allocations: 0.7097 MB / 488.4 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.354e-05/0.3501, allocations: 132.3 kB / 488.5 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.627e-05/0.3502, allocations: 8 kB / 488.5 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.3504, allocations: 31.97 kB / 488.5 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.3506, allocations: 100.8 kB / 488.6 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/0.3507, allocations: 32 kB / 488.7 MB, free: 496 kB / 362.7 MB Notification: Performance of sort global known variables: time 9.858e-05/0.3508, allocations: 136.5 kB / 488.8 MB, free: 360 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005525/0.3513, allocations: 136 kB / 488.9 MB, free: 224 kB / 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.0002098/0.3516, allocations: 158 kB / 489.1 MB, free: 60 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3526, allocations: 0.6789 MB / 489.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.3526, allocations: 0 / 489.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004915/0.3531, allocations: 359.6 kB / 490.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.3534, allocations: 66.86 kB / 490.2 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.355, allocations: 0.893 MB / 491.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006932/0.3557, allocations: 1.048 MB / 492.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.3557, allocations: 0 / 492.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of Templates: time 0.01346/0.3692, allocations: 7.681 MB / 499.8 MB, free: 5.352 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