Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00145/0.00145, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3592, allocations: 50.53 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.003979/0.3633, allocations: 2.549 MB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3651, allocations: 0.9153 MB / 413.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.3653, allocations: 15.94 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.3656, allocations: 110.8 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.3657, allocations: 75.12 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3668, allocations: 459.3 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.3679, allocations: 1.128 MB / 415.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009522/0.3689, allocations: 0.8048 MB / 416 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.3693, allocations: 386.7 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.3697, allocations: 418.2 kB / 416.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.3698, allocations: 100 kB / 416.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.37, allocations: 115.9 kB / 417 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.3702, allocations: 255.3 kB / 417.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003329/0.3705, allocations: 433.8 kB / 417.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009388/0.3715, allocations: 1.074 MB / 418.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3715, allocations: 3.938 kB / 418.7 MB, free: 8.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3715, allocations: 0 / 418.7 MB, free: 8.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.3715, allocations: 0 / 418.7 MB, free: 8.762 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.001598/0.3731, allocations: 1.106 MB / 419.8 MB, free: 7.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3732, allocations: 8.031 kB / 419.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007935/0.374, allocations: 131.8 kB / 419.9 MB, free: 7.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.3746, allocations: 454.8 kB / 420.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.878e-05/0.3747, allocations: 102.3 kB / 420.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.3749, allocations: 112.4 kB / 420.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.3763, allocations: 0.9585 MB / 421.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.3764, allocations: 192 / 421.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/0.3765, allocations: 47.92 kB / 421.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.3765, allocations: 24 kB / 421.6 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.3778, allocations: 0.7066 MB / 422.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.3811, allocations: 2.485 MB / 424.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3821, allocations: 0.683 MB / 425.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.3826, allocations: 345.2 kB / 425.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.3826, allocations: 9 kB / 425.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005973/0.3832, allocations: 440.9 kB / 426.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.836e-06/0.3832, allocations: 0 / 426.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.001437/0.3847, allocations: 0.8279 MB / 427.1 MB, free: 84 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3848, allocations: 131.8 kB / 427.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.3851, allocations: 328 kB / 427.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.511e-05/0.3852, allocations: 73.69 kB / 427.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.3856, allocations: 301 kB / 427.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.3858, allocations: 256.6 kB / 428.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.3861, allocations: 266.9 kB / 428.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3862, allocations: 379 kB / 428.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.3867, allocations: 262.5 kB / 429.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.3873, allocations: 492.5 kB / 429.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.3883, allocations: 0.6522 MB / 430.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3883, allocations: 4 kB / 430.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001324/0.3896, allocations: 0.8636 MB / 431.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.3897, allocations: 8 kB / 431.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3897, allocations: 12.09 kB / 431.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/0.3897, allocations: 12 kB / 431.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.3901, allocations: 103.7 kB / 431.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.739e-05/0.3902, allocations: 19.92 kB / 431.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.3905, allocations: 99.11 kB / 431.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/0.3906, allocations: 40 kB / 431.4 MB, free: 11.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 126 ($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,stateGraphRoot.activeSteps,Parallel1.outPort.available,alternative.split[3].available,alternative.split[2].available,transition6a.t_start,$PRE.transition6a.t_start,transition6a.fire,transition6a.enableFire,step4a.oldActive,$PRE.step4a.oldActive,step4a.newActive,$PRE.step4a.newActive,step4a.localActive,$PRE.step4a.localActive,step4a.active,transition4a.t_start,$PRE.transition4a.t_start,transition4a.fire,transition4a.enableFire,transition7.enableFire,transition7.localCondition,step5.oldActive,$PRE.step5.oldActive,step5.newActive,$PRE.step5.newActive,step5.inPort[1].set,step5.localActive,$PRE.step5.localActive,step5.active,transition6.t_start,$PRE.transition6.t_start,transition6.fire,transition6.enableFire,transition5.t_start,$PRE.transition5.t_start,transition5.fire,transition5.enableFire,step4.oldActive,$PRE.step4.oldActive,step4.newActive,$PRE.step4.newActive,step4.localActive,$PRE.step4.localActive,step4.active,step3.oldActive,$PRE.step3.oldActive,step3.newActive,$PRE.step3.newActive,step3.localActive,$PRE.step3.localActive,step3.active,transition4.t_start,$PRE.transition4.t_start,transition4.fire,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.fire,transition3.enableFire,step2.oldActive,$PRE.step2.oldActive,step2.newActive,$PRE.step2.newActive,step2.outPort[1].reset,step2.localActive,$PRE.step2.localActive,step2.active,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,transition7.t_start,$PRE.transition7.t_start,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 (156): * Single equations (assignments): 156 * 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.0003631/0.3909, allocations: 315.6 kB / 431.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.391, allocations: 47.44 kB / 431.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.3912, allocations: 69.27 kB / 431.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.3912, allocations: 3.984 kB / 431.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3912, allocations: 3.984 kB / 431.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.3913, allocations: 132.3 kB / 431.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.3914, allocations: 23.98 kB / 431.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.3916, allocations: 35.92 kB / 432 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.3918, allocations: 100.8 kB / 432.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001255/0.393, allocations: 0.918 MB / 433 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001005/0.3941, allocations: 0.9526 MB / 433.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004426/0.3945, allocations: 351.8 kB / 434.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.3946, allocations: 152.5 kB / 434.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of Backend: time 9.92e-07/0.3946, allocations: 0 / 434.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.3959, allocations: 0.5916 MB / 435 MB, free: 7.871 MB / 350.1 MB Notification: Performance of SimCode: time 0.001841/0.3978, allocations: 1.432 MB / 436.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of Templates: time 0.01295/0.4107, allocations: 7.432 MB / 443.9 MB, free: 15 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ExecutionPaths/ExecutionPaths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches