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.001599/0.001599, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001887/0.001887, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.393/1.393, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 51.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2356, allocations: 49.41 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowCompositeStep): time 0.003528/0.2391, allocations: 2.62 MB / 404 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.2409, allocations: 1.06 MB / 405.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.241, allocations: 23.88 kB / 405.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.2413, allocations: 122.7 kB / 405.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.2416, allocations: 79.14 kB / 405.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008751/0.2425, allocations: 0.5578 MB / 405.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.2437, allocations: 1.343 MB / 407.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000987/0.2447, allocations: 0.9142 MB / 408.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.2451, allocations: 442.7 kB / 408.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.2455, allocations: 466 kB / 409 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.2457, allocations: 132 kB / 409.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.2459, allocations: 148 kB / 409.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.2461, allocations: 303.2 kB / 409.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003828/0.2465, allocations: 489.8 kB / 410 MB, free: 188 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.2476, allocations: 1.399 MB / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2476, allocations: 0 / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2477, allocations: 0 / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.2477, allocations: 0 / 411.4 MB, free: 14.79 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.00165/0.2493, allocations: 1.16 MB / 412.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2494, allocations: 11.89 kB / 412.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.2496, allocations: 99.81 kB / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007095/0.2503, allocations: 0.5262 MB / 413.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.575e-05/0.2504, allocations: 94.44 kB / 413.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.2505, allocations: 120.3 kB / 413.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.2522, allocations: 1.068 MB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.2522, allocations: 4.188 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.696e-05/0.2523, allocations: 51.88 kB / 414.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.2524, allocations: 24 kB / 414.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.2538, allocations: 0.8276 MB / 415.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.2574, allocations: 2.998 MB / 418.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.2586, allocations: 0.7442 MB / 419.1 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.2591, allocations: 384.5 kB / 419.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.2592, allocations: 20.98 kB / 419.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000733/0.2599, allocations: 498 kB / 420 MB, free: 5.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=105): time 2.675e-06/0.26, allocations: 0 / 420 MB, free: 5.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=105): time 0.001664/0.2616, allocations: 0.9646 MB / 421 MB, free: 4.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.2617, allocations: 106.2 kB / 421.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.2621, allocations: 349.6 kB / 421.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.2622, allocations: 81.69 kB / 421.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.2624, allocations: 321 kB / 421.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.2626, allocations: 268.5 kB / 422.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003931/0.263, allocations: 302.8 kB / 422.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2632, allocations: 366.8 kB / 422.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/0.2638, allocations: 322.5 kB / 423.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007629/0.2646, allocations: 0.5535 MB / 423.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.2658, allocations: 0.7468 MB / 424.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2658, allocations: 0 / 424.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001615/0.2674, allocations: 0.9847 MB / 425.3 MB, free: 332 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.2674, allocations: 12.03 kB / 425.4 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.2675, allocations: 12 kB / 425.4 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.2675, allocations: 12 kB / 425.4 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.2679, allocations: 123.7 kB / 425.5 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-05/0.268, allocations: 15.94 kB / 425.5 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.2684, allocations: 106.9 kB / 425.6 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.2685, allocations: 52.03 kB / 425.7 MB, free: 15.99 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.0004594/0.269, allocations: 360.9 kB / 426 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.2691, allocations: 51.38 kB / 426.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.2704, allocations: 0.7887 MB / 426.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.2705, allocations: 7.969 kB / 426.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2705, allocations: 0 / 426.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-05/0.2706, allocations: 132.4 kB / 427 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.387e-05/0.2707, allocations: 23.98 kB / 427 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.2709, allocations: 35.98 kB / 427.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/0.2712, allocations: 120.8 kB / 427.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001493/0.2727, allocations: 0.9654 MB / 428.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001245/0.2739, allocations: 0.9914 MB / 429.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005556/0.2745, allocations: 395.8 kB / 429.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.2746, allocations: 169.9 kB / 429.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Backend: time 1.993e-06/0.2747, allocations: 0 / 429.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.2761, allocations: 0.6784 MB / 430.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of SimCode: time 0.001846/0.2779, allocations: 1.509 MB / 431.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of Templates: time 0.01574/0.2937, allocations: 9.184 MB / 441.1 MB, free: 0.5391 MB / 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