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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001712/0.001712, allocations: 182 kB / 17.01 MB, free: 5.125 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.831/1.831, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008699/0.0008699, allocations: 94.58 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002468/0.0002466, allocations: 8 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2776, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09343/0.371, allocations: 76.45 MB / 452.2 MB, free: 4.227 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.3713, allocations: 71.97 kB / 452.3 MB, free: 4.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02863/0.4, allocations: 11.59 MB / 463.9 MB, free: 8.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4, allocations: 0 / 463.9 MB, free: 8.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.804e-05/0.4001, allocations: 31.92 kB / 463.9 MB, free: 8.469 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.001575/0.4017, allocations: 0.9251 MB / 464.9 MB, free: 7.461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/0.4017, allocations: 11.97 kB / 464.9 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.4019, allocations: 94.95 kB / 465 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.4027, allocations: 434.7 kB / 465.4 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.4028, allocations: 90 kB / 465.5 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.403, allocations: 111.9 kB / 465.6 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.4047, allocations: 0.9493 MB / 466.5 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.4047, allocations: 0 / 466.5 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/0.4048, allocations: 40 kB / 466.6 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.4048, allocations: 24 kB / 466.6 MB, free: 5.656 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.4061, allocations: 0.7104 MB / 467.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.4097, allocations: 2.38 MB / 469.7 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.4108, allocations: 0.6609 MB / 470.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.475e-05/0.4109, allocations: 22.28 kB / 470.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006878/0.4116, allocations: 429.8 kB / 470.8 MB, free: 1.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 2.585e-06/0.4116, allocations: 0 / 470.8 MB, free: 1.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.001512/0.4131, allocations: 0.8396 MB / 471.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/0.4132, allocations: 98.09 kB / 471.7 MB, free: 404 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.4135, allocations: 299.2 kB / 472 MB, free: 96 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.4136, allocations: 77.75 kB / 472.1 MB, free: 12 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.4139, allocations: 301.1 kB / 472.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.4141, allocations: 237 kB / 472.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.4141, allocations: 28 kB / 472.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4143, allocations: 366.8 kB / 473 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.4148, allocations: 266.5 kB / 473.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006044/0.4154, allocations: 479.6 kB / 473.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/0.4158, allocations: 278.4 kB / 474 MB, free: 14.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.4159, allocations: 0 / 474 MB, free: 14.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001249/0.4171, allocations: 0.8668 MB / 474.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.4172, allocations: 12.7 kB / 474.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.4172, allocations: 4 kB / 474.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.4172, allocations: 16 kB / 474.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.4176, allocations: 111.7 kB / 475 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.4176, allocations: 19.92 kB / 475 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.418, allocations: 67.67 kB / 475.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/0.4181, allocations: 47.98 kB / 475.1 MB, free: 12.86 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.0003916/0.4185, allocations: 307.5 kB / 475.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/0.4186, allocations: 47.44 kB / 475.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.4197, allocations: 0.7533 MB / 476.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.4198, allocations: 12 kB / 476.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4198, allocations: 0 / 476.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4198, allocations: 7.969 kB / 476.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.4222, allocations: 1.675 MB / 477.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4222, allocations: 0 / 477.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.4225, allocations: 71.84 kB / 478 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.4225, allocations: 4 kB / 478 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.4226, allocations: 23.98 kB / 478 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/0.4226, allocations: 11.94 kB / 478.1 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4226, allocations: 3.938 kB / 478.1 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.4236, allocations: 0.7874 MB / 478.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.4237, allocations: 136.4 kB / 479 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/0.4238, allocations: 23.95 kB / 479 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.4241, allocations: 39.97 kB / 479 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.4243, allocations: 100.8 kB / 479.1 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/0.4243, allocations: 39.98 kB / 479.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.4245, allocations: 156.5 kB / 479.3 MB, free: 8.559 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4245, allocations: 0 / 479.3 MB, free: 8.559 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005938/0.4251, allocations: 171.9 kB / 479.5 MB, free: 8.391 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.0002421/0.4253, allocations: 167.9 kB / 479.7 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.4264, allocations: 0.7448 MB / 480.4 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4264, allocations: 0 / 480.4 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005163/0.4269, allocations: 377.6 kB / 480.8 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.4273, allocations: 71.64 kB / 480.8 MB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.4292, allocations: 1.415 MB / 482.3 MB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.4298, allocations: 0.9705 MB / 483.2 MB, free: 4.586 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003057/0.4301, allocations: 101.9 kB / 483.3 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.4303, allocations: 75.41 kB / 483.4 MB, free: 4.41 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4303, allocations: 3.938 kB / 483.4 MB, free: 4.406 MB / 362.7 MB Notification: Performance of Templates: time 0.01242/0.4428, allocations: 6.612 MB / 490 MB, free: 13.82 MB / 378.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