Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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) 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_4.0.0_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_4.0.0_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.001502/0.001503, allocations: 112.7 kB / 17.75 MB, free: 5.305 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.001579/0.001579, allocations: 179 kB / 18.68 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 51.91 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3872, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowCompositeStep): time 0.004029/0.3913, allocations: 2.615 MB / 404 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.3934, allocations: 1.06 MB / 405.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002811/0.3937, allocations: 19.88 kB / 405.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.394, allocations: 122.7 kB / 405.2 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.3944, allocations: 83.14 kB / 405.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.3956, allocations: 0.5578 MB / 405.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.397, allocations: 1.339 MB / 407.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.3981, allocations: 0.918 MB / 408.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004166/0.3986, allocations: 438.7 kB / 408.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005033/0.3991, allocations: 470 kB / 409 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.3993, allocations: 136 kB / 409.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.3995, allocations: 148 kB / 409.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.3998, allocations: 295.3 kB / 409.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004664/0.4002, allocations: 497.6 kB / 410 MB, free: 156 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.4018, allocations: 1.393 MB / 411.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4018, allocations: 3.938 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4018, allocations: 0 / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.4018, allocations: 4 kB / 411.4 MB, free: 14.75 MB / 334.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.001911/0.4038, allocations: 1.179 MB / 412.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4038, allocations: 8.031 kB / 412.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.404, allocations: 104.3 kB / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007398/0.4048, allocations: 0.5225 MB / 413.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.4049, allocations: 94.44 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.4051, allocations: 120.4 kB / 413.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.4069, allocations: 1.076 MB / 414.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.407, allocations: 192 / 414.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.11e-05/0.4071, allocations: 43.94 kB / 414.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.4071, allocations: 28 kB / 414.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.4086, allocations: 0.8276 MB / 415.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/0.4128, allocations: 3.015 MB / 418.4 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.4141, allocations: 0.7442 MB / 419.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/0.4147, allocations: 380.5 kB / 419.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.236e-05/0.4148, allocations: 16.98 kB / 419.6 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008091/0.4156, allocations: 0.4903 MB / 420.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=105): time 3.096e-06/0.4156, allocations: 0 / 420.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=105): time 0.001764/0.4174, allocations: 0.9609 MB / 421 MB, free: 4.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.4174, allocations: 106.1 kB / 421.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.4179, allocations: 358 kB / 421.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.418, allocations: 85.81 kB / 421.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.4182, allocations: 326 kB / 421.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.4184, allocations: 285.8 kB / 422.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003473/0.4188, allocations: 294.9 kB / 422.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.419, allocations: 370.8 kB / 422.8 MB, free: 3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/0.4196, allocations: 322.5 kB / 423.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007403/0.4203, allocations: 0.5457 MB / 423.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.4214, allocations: 0.7469 MB / 424.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.4214, allocations: 0 / 424.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001541/0.423, allocations: 0.9959 MB / 425.4 MB, free: 236 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.423, allocations: 11.94 kB / 425.4 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.423, allocations: 4.812 kB / 425.4 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.4231, allocations: 12 kB / 425.4 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.4235, allocations: 127.7 kB / 425.6 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.4235, allocations: 15.94 kB / 425.6 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.4239, allocations: 115.3 kB / 425.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.4241, allocations: 59.92 kB / 425.8 MB, free: 15.89 MB / 350.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: 135 ($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,transition7.t_start,$PRE.transition7.t_start,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 (166): * Single equations (assignments): 166 * 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.0004434/0.4245, allocations: 353 kB / 426.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.4246, allocations: 59.61 kB / 426.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.426, allocations: 0.781 MB / 426.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.426, allocations: 7.969 kB / 427 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.426, allocations: 0 / 427 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.4262, allocations: 136.5 kB / 427.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.715e-05/0.4263, allocations: 31.98 kB / 427.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.4265, allocations: 27.98 kB / 427.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003033/0.4268, allocations: 124.8 kB / 427.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001514/0.4283, allocations: 0.9654 MB / 428.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001354/0.4297, allocations: 0.9916 MB / 429.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00057/0.4302, allocations: 399.8 kB / 429.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.4304, allocations: 170 kB / 429.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Backend: time 5.71e-07/0.4304, allocations: 0 / 429.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.432, allocations: 0.6706 MB / 430.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of SimCode: time 0.002254/0.4343, allocations: 1.547 MB / 432 MB, free: 9.535 MB / 350.1 MB Notification: Performance of Templates: time 0.01747/0.4517, allocations: 9.178 MB / 441.2 MB, free: 412 kB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ShowCompositeStep.makefile (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ShowCompositeStep.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ShowCompositeStep.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.ShowCompositeStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ShowCompositeStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.StateGraph.Examples.ShowCompositeStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ShowCompositeStep/ShowCompositeStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.StateGraph.Examples.ShowCompositeStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches