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.0008645/0.0008645, allocations: 182.8 kB / 18.04 MB, free: 3.754 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.254/1.254, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007414/0.0007414, allocations: 92.36 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002938, allocations: 12 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1942, allocations: 47.58 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08221/0.2765, allocations: 76.47 MB / 453.5 MB, free: 4.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.2768, allocations: 71.97 kB / 453.6 MB, free: 4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02733/0.3041, allocations: 11.62 MB / 465.2 MB, free: 8.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3041, allocations: 0 / 465.2 MB, free: 8.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.457e-05/0.3042, allocations: 27.94 kB / 465.2 MB, free: 8.285 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.001248/0.3054, allocations: 0.9213 MB / 466.1 MB, free: 7.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3055, allocations: 8.031 kB / 466.1 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.3057, allocations: 95.89 kB / 466.2 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.3062, allocations: 447.6 kB / 466.7 MB, free: 6.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.672e-05/0.3063, allocations: 86.38 kB / 466.7 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.3065, allocations: 112.4 kB / 466.9 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.3078, allocations: 0.9577 MB / 467.8 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.3079, allocations: 192 / 467.8 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.308, allocations: 43.94 kB / 467.9 MB, free: 5.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.308, allocations: 24 kB / 467.9 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.3092, allocations: 0.7065 MB / 468.6 MB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.3123, allocations: 2.4 MB / 471 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008933/0.3132, allocations: 0.6545 MB / 471.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.3136, allocations: 332.4 kB / 472 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.187e-05/0.3137, allocations: 24.95 kB / 472 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005895/0.3143, allocations: 437.7 kB / 472.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 2.845e-06/0.3143, allocations: 0 / 472.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.001302/0.3156, allocations: 0.8319 MB / 473.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.3157, allocations: 106 kB / 473.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.316, allocations: 328 kB / 473.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.778e-05/0.3161, allocations: 73.69 kB / 473.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.3163, allocations: 293.1 kB / 474 MB, free: 15.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.3164, allocations: 249.1 kB / 474.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.3165, allocations: 24 kB / 474.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3167, allocations: 374.7 kB / 474.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.3171, allocations: 258.5 kB / 474.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/0.3177, allocations: 491.5 kB / 475.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008356/0.3185, allocations: 0.6515 MB / 476 MB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3185, allocations: 0 / 476 MB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001174/0.3197, allocations: 0.8635 MB / 476.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3197, allocations: 12.12 kB / 476.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3197, allocations: 4 kB / 476.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.3198, allocations: 12 kB / 476.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.3201, allocations: 111.7 kB / 477 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.3202, allocations: 15.94 kB / 477.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.3205, allocations: 75.66 kB / 477.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/0.3205, allocations: 48 kB / 477.2 MB, free: 11.83 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.0003417/0.3209, allocations: 308.1 kB / 477.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.321, allocations: 51.42 kB / 477.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.3221, allocations: 0.7418 MB / 478.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.3221, allocations: 8 kB / 478.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3221, allocations: 7.938 kB / 478.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.3221, allocations: 3.984 kB / 478.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.3244, allocations: 1.679 MB / 480 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3244, allocations: 4 kB / 480 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.3246, allocations: 67.83 kB / 480 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3246, allocations: 4 kB / 480.1 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.3247, allocations: 23.98 kB / 480.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.3247, allocations: 4 kB / 480.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3247, allocations: 7.875 kB / 480.1 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009405/0.3257, allocations: 0.7857 MB / 480.9 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/0.3257, allocations: 124.4 kB / 481 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.3258, allocations: 19.98 kB / 481 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.326, allocations: 35.98 kB / 481 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.3262, allocations: 104.8 kB / 481.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-05/0.3263, allocations: 35.98 kB / 481.2 MB, free: 7.707 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.3264, allocations: 156.5 kB / 481.3 MB, free: 7.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3264, allocations: 0 / 481.3 MB, free: 7.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004809/0.3269, allocations: 167.9 kB / 481.5 MB, free: 7.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.0002176/0.3271, allocations: 167 kB / 481.7 MB, free: 7.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3282, allocations: 0.7484 MB / 482.4 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3282, allocations: 0 / 482.4 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.3287, allocations: 381.5 kB / 482.8 MB, free: 6.098 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.3292, allocations: 89.58 kB / 482.9 MB, free: 6.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.3309, allocations: 1.423 MB / 484.3 MB, free: 4.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.3313, allocations: 0.9571 MB / 485.3 MB, free: 3.566 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002993/0.3316, allocations: 105.9 kB / 485.4 MB, free: 3.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.3318, allocations: 71.41 kB / 485.4 MB, free: 3.391 MB / 362.7 MB Notification: Performance of SimCode: time 1.443e-06/0.3318, allocations: 0 / 485.4 MB, free: 3.391 MB / 362.7 MB Notification: Performance of Templates: time 0.01154/0.3434, allocations: 6.684 MB / 492.1 MB, free: 12.72 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/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_Modelica.StateGraph.Examples.ExecutionPaths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches