Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|compositeStep.transition3.enableFire|compositeStep.transition4.enableFire|compositeStep.transition4a.enableFire|compositeStep.transition5.enableFire|compositeStep.transition6.enableFire|compositeStep.transition6a.enableFire|transition1.enableFire|transition2.enableFire|transition7.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep") translateModel(Modelica.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|compositeStep.transition3.enableFire|compositeStep.transition4.enableFire|compositeStep.transition4a.enableFire|compositeStep.transition5.enableFire|compositeStep.transition6.enableFire|compositeStep.transition6a.enableFire|transition1.enableFire|transition2.enableFire|transition7.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 99.75 kB / 18.36 MB, free: 4.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 188.3 kB / 19.3 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 56.34 kB / 329.1 MB, free: 3.379 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07539/0.07655, allocations: 46.62 MB / 375.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowCompositeStep): time 0.00337/0.07995, allocations: 2.572 MB / 378.3 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.08155, allocations: 1.021 MB / 379.4 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.08173, allocations: 23.88 kB / 379.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.08199, allocations: 122.6 kB / 379.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.08228, allocations: 83.14 kB / 379.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008296/0.08312, allocations: 0.55 MB / 380.1 MB, free: 260 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1588/0.242, allocations: 1.345 MB / 381.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.2434, allocations: 0.9107 MB / 382.4 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006698/0.2441, allocations: 438.7 kB / 382.8 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006952/0.2448, allocations: 474.8 kB / 383.3 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002665/0.2451, allocations: 131.4 kB / 383.4 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.2453, allocations: 145 kB / 383.5 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.2456, allocations: 295.5 kB / 383.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004534/0.2461, allocations: 490.9 kB / 384.3 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.2474, allocations: 1.353 MB / 385.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2474, allocations: 0 / 385.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2474, allocations: 0.625 kB / 385.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.442e-05/0.2475, allocations: 0 / 385.7 MB, free: 8.727 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.001951/0.2494, allocations: 1.161 MB / 386.8 MB, free: 7.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2495, allocations: 8.938 kB / 386.8 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.2497, allocations: 101.2 kB / 386.9 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006663/0.2504, allocations: 0.5048 MB / 387.4 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.2505, allocations: 94.69 kB / 387.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.2506, allocations: 124.1 kB / 387.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.2525, allocations: 1.07 MB / 388.7 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.2525, allocations: 1.25 kB / 388.7 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/0.2526, allocations: 47.03 kB / 388.8 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.2527, allocations: 28.47 kB / 388.8 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.2542, allocations: 0.8235 MB / 389.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003683/0.2579, allocations: 2.993 MB / 392.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.2591, allocations: 0.7431 MB / 393.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005422/0.2597, allocations: 371 kB / 393.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-05/0.2597, allocations: 11.66 kB / 393.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007023/0.2605, allocations: 443.2 kB / 394.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.025e-06/0.2605, allocations: 4 kB / 394.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.001639/0.2621, allocations: 0.9479 MB / 395.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2622, allocations: 76.58 kB / 395.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.2625, allocations: 357.2 kB / 395.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.675e-05/0.2626, allocations: 79.88 kB / 395.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.2628, allocations: 320.1 kB / 395.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.263, allocations: 261.6 kB / 396.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.2634, allocations: 300.7 kB / 396.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.2635, allocations: 375.8 kB / 396.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.2641, allocations: 321.2 kB / 397.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/0.2647, allocations: 0.5407 MB / 397.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009323/0.2657, allocations: 0.7398 MB / 398.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.2657, allocations: 5.719 kB / 398.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001487/0.2672, allocations: 0.9835 MB / 399.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.2672, allocations: 8.469 kB / 399.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.2672, allocations: 10.62 kB / 399.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.2673, allocations: 11.28 kB / 399.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.2677, allocations: 121.1 kB / 399.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/0.2677, allocations: 17.72 kB / 399.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.2681, allocations: 112.4 kB / 399.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/0.2682, allocations: 55.69 kB / 399.8 MB, free: 1.074 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 133 ($PRE.compositeStep.transition3.enableFire,$PRE.compositeStep.transition4.enableFire,$PRE.compositeStep.transition5.enableFire,$PRE.compositeStep.transition6.enableFire,$PRE.compositeStep.transition4a.enableFire,$PRE.compositeStep.transition6a.enableFire,$PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition7.enableFire,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition,compositeStep.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,compositeStep.resume[1].set,compositeStep.suspend[1].reset,compositeStep.stateGraphRoot.suspend,compositeStep.stateGraphRoot.resume,stateGraphRoot.activeSteps,Parallel1.outPort.available,transition7.enableFire,transition7.localCondition,step6.oldActive,$PRE.step6.oldActive,step6.newActive,$PRE.step6.newActive,step6.localActive,$PRE.step6.localActive,step6.active,transition2.t_start,$PRE.transition2.t_start,transition2.fire,transition2.enableFire,step1.oldActive,$PRE.step1.oldActive,step1.newActive,$PRE.step1.newActive,step1.localActive,$PRE.step1.localActive,step1.active,transition1.t_start,$PRE.transition1.t_start,transition1.outPort.occupied,transition1.fire,transition1.enableFire,step0.oldActive,$PRE.step0.oldActive,step0.newActive,$PRE.step0.newActive,step0.localActive,$PRE.step0.localActive,step0.active,compositeStep.Alternative1.split[3].available,compositeStep.Alternative1.split[2].available,compositeStep.exitStep.oldActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.localActive,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.active,compositeStep.initStep.oldActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.localActive,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.active,compositeStep.transition6a.t_start,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.fire,compositeStep.transition6a.enableFire,compositeStep.step4a.oldActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.active,compositeStep.transition4a.t_start,$PRE.compositeStep.transition4a.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.enableFire,compositeStep.transition6.t_start,$PRE.compositeStep.transition6.t_start,compositeStep.transition6.fire,compositeStep.transition6.enableFire,compositeStep.transition5.t_start,$PRE.compositeStep.transition5.t_start,compositeStep.transition5.fire,compositeStep.transition5.enableFire,compositeStep.step4.oldActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.localActive,compositeStep.step4.active,compositeStep.step3.oldActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.localActive,compositeStep.step3.active,compositeStep.transition4.t_start,$PRE.compositeStep.transition4.t_start,compositeStep.transition4.fire,compositeStep.transition4.enableFire,compositeStep.transition3.t_start,$PRE.compositeStep.transition3.t_start,compositeStep.transition3.fire,compositeStep.transition3.enableFire,compositeStep.activeSteps,compositeStep.newActive,$PRE.compositeStep.newActive,compositeStep.active,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003848/0.2686, allocations: 357.8 kB / 400.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.2687, allocations: 57.86 kB / 400.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.2701, allocations: 0.7776 MB / 400.9 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.2701, allocations: 5.531 kB / 401 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2701, allocations: 0.6094 kB / 401 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.2702, allocations: 137.9 kB / 401.1 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.2703, allocations: 24.64 kB / 401.1 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.2705, allocations: 32.44 kB / 401.1 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/0.2707, allocations: 120.8 kB / 401.3 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001517/0.2723, allocations: 0.8662 MB / 402.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001249/0.2735, allocations: 0.901 MB / 403 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000622/0.2742, allocations: 392.5 kB / 403.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.2743, allocations: 171.4 kB / 403.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.2743, allocations: 0 / 403.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.2757, allocations: 0.6685 MB / 404.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of SimCode: time 0.00204/0.2778, allocations: 1.526 MB / 405.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of Templates: time 0.01531/0.2931, allocations: 9.023 MB / 414.8 MB, free: 7.594 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.makefile (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.sim & ./Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/ShowCompositeStep/ShowCompositeStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches