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") [: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.002526/0.002525, allocations: 176.4 kB / 8.148 MB, free: 2.203 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.821/1.821, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001241/0.001241, allocations: 92.77 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.265e-05/1.28e-05, allocations: 0 / 314.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2586, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.3851, allocations: 75.62 MB / 437.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.3855, allocations: 68.41 kB / 437.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0469/0.4324, allocations: 10.95 MB / 448.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.907e-05/0.4325, allocations: 27.94 kB / 448.5 MB, free: 15.4 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.002073/0.4346, allocations: 0.9089 MB / 449.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.4347, allocations: 8.031 kB / 449.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.4349, allocations: 92.19 kB / 449.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009916/0.4359, allocations: 434 kB / 449.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.345e-05/0.436, allocations: 40 kB / 450 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.4362, allocations: 67.98 kB / 450 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00205/0.4383, allocations: 0.6443 MB / 450.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.4405, allocations: 0.8069 MB / 451.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.4406, allocations: 0 / 451.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-05/0.4407, allocations: 8 kB / 451.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.4407, allocations: 20 kB / 451.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006023/0.4468, allocations: 2.193 MB / 453.7 MB, free: 9.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.4483, allocations: 0.5486 MB / 454.2 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007188/0.449, allocations: 299.8 kB / 454.5 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.084e-05/0.4491, allocations: 16.78 kB / 454.6 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009018/0.45, allocations: 392.3 kB / 454.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 4.118e-06/0.45, allocations: 0 / 454.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.001561/0.4516, allocations: 0.502 MB / 455.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.4517, allocations: 101.9 kB / 455.5 MB, free: 8.074 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000481/0.4522, allocations: 287.4 kB / 455.8 MB, free: 7.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.4524, allocations: 53.69 kB / 455.9 MB, free: 7.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.4527, allocations: 339.4 kB / 456.2 MB, free: 7.391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.453, allocations: 232.9 kB / 456.4 MB, free: 7.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.4531, allocations: 0 / 456.4 MB, free: 7.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4532, allocations: 354.8 kB / 456.8 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007039/0.454, allocations: 234.6 kB / 457 MB, free: 6.574 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009081/0.4549, allocations: 445.1 kB / 457.4 MB, free: 6.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007685/0.4557, allocations: 238.3 kB / 457.7 MB, free: 5.832 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.4557, allocations: 0 / 457.7 MB, free: 5.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001998/0.4577, allocations: 0.7247 MB / 458.4 MB, free: 5.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4577, allocations: 9.25 kB / 458.4 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.4578, allocations: 11.98 kB / 458.4 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/0.4578, allocations: 12 kB / 458.4 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.4586, allocations: 115.6 kB / 458.5 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.4586, allocations: 8 kB / 458.6 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/0.4592, allocations: 51.72 kB / 458.6 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.4593, allocations: 52.53 kB / 458.7 MB, free: 4.848 MB / 346.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.0002602/0.4596, allocations: 107.3 kB / 458.8 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.4597, allocations: 51.44 kB / 458.8 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.4618, allocations: 0.6304 MB / 459.4 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.4618, allocations: 12 kB / 459.4 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.4619, allocations: 0 / 459.4 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.4619, allocations: 3.984 kB / 459.5 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/0.4659, allocations: 1.447 MB / 460.9 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.466, allocations: 8 kB / 460.9 MB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005377/0.4665, allocations: 63.84 kB / 461 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/0.4665, allocations: 7.984 kB / 461 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/0.4666, allocations: 8 kB / 461 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.544e-05/0.4666, allocations: 7.984 kB / 461 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4667, allocations: 0 / 461 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001728/0.4684, allocations: 0.6881 MB / 461.7 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.4685, allocations: 124.4 kB / 461.8 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4686, allocations: 12.58 kB / 461.8 MB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.4691, allocations: 31.97 kB / 461.8 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.4694, allocations: 92.84 kB / 461.9 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.589e-05/0.4695, allocations: 35.98 kB / 462 MB, free: 1.422 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001725/0.4697, allocations: 144.5 kB / 462.1 MB, free: 1.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007763/0.4705, allocations: 120 kB / 462.2 MB, free: 1.164 MB / 346.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.000294/0.4708, allocations: 159 kB / 462.4 MB, free: 1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.4725, allocations: 0.6747 MB / 463.1 MB, free: 336 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4725, allocations: 1.5 kB / 463.1 MB, free: 336 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007903/0.4733, allocations: 347.7 kB / 463.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005655/0.4739, allocations: 59.41 kB / 463.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.4767, allocations: 0.8966 MB / 464.4 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.4779, allocations: 1.032 MB / 465.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4779, allocations: 4 kB / 465.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of Templates: time 0.02165/0.4996, allocations: 8.797 MB / 474.2 MB, free: 5.156 MB / 362.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