Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.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.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_4.0.0_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_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, 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.00123/0.00123, 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.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 47.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2448, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.003426/0.2483, allocations: 2.548 MB / 403.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.2499, allocations: 0.9035 MB / 404.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.2501, allocations: 15.94 kB / 404.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.2504, allocations: 118.8 kB / 405 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.2506, allocations: 75.14 kB / 405.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009248/0.2515, allocations: 463.3 kB / 405.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.2526, allocations: 1.131 MB / 406.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009888/0.2536, allocations: 0.8009 MB / 407.4 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.2539, allocations: 394.7 kB / 407.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.2544, allocations: 422.2 kB / 408.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.2545, allocations: 100 kB / 408.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.2547, allocations: 116 kB / 408.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.255, allocations: 251.2 kB / 408.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.2553, allocations: 433.9 kB / 409.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009429/0.2563, allocations: 1.087 MB / 410.2 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2563, allocations: 3.938 kB / 410.2 MB, free: 32 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2563, allocations: 4 kB / 410.2 MB, free: 28 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.2563, allocations: 0 / 410.2 MB, free: 28 kB / 318.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.001646/0.2579, allocations: 1.101 MB / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.258, allocations: 8.031 kB / 411.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.2582, allocations: 91.91 kB / 411.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000674/0.2588, allocations: 475.8 kB / 411.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.2589, allocations: 90.36 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.2591, allocations: 108.4 kB / 412.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.2607, allocations: 0.9741 MB / 413 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.2607, allocations: 192 / 413 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-05/0.2608, allocations: 51.92 kB / 413.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.2609, allocations: 24 kB / 413.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.2621, allocations: 0.7182 MB / 413.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.2654, allocations: 2.516 MB / 416.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.2666, allocations: 0.6916 MB / 417 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.2672, allocations: 349.2 kB / 417.4 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.169e-05/0.2673, allocations: 14.33 kB / 417.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006613/0.2679, allocations: 451.5 kB / 417.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.906e-06/0.2679, allocations: 0 / 417.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.001572/0.2695, allocations: 0.8591 MB / 418.7 MB, free: 7.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.2696, allocations: 124.1 kB / 418.8 MB, free: 7.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.2699, allocations: 324.1 kB / 419.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.645e-05/0.27, allocations: 73.69 kB / 419.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.2702, allocations: 305.1 kB / 419.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.2705, allocations: 252.7 kB / 419.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003534/0.2708, allocations: 278.8 kB / 420 MB, free: 5.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.271, allocations: 370.7 kB / 420.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.2715, allocations: 270.5 kB / 420.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007151/0.2722, allocations: 0.4888 MB / 421.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009587/0.2732, allocations: 0.6679 MB / 421.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2732, allocations: 7.938 kB / 421.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001372/0.2746, allocations: 0.8786 MB / 422.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.2746, allocations: 11.98 kB / 422.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.2746, allocations: 4.781 kB / 422.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.2747, allocations: 12 kB / 422.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.2751, allocations: 119.7 kB / 422.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/0.2751, allocations: 15.94 kB / 422.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.2755, allocations: 99.09 kB / 422.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/0.2756, allocations: 47.98 kB / 423 MB, free: 2.734 MB / 334.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.0003655/0.2759, allocations: 315.6 kB / 423.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.276, allocations: 51.38 kB / 423.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.2774, allocations: 0.7495 MB / 424.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.2774, allocations: 11.97 kB / 424.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2774, allocations: 0 / 424.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.2775, allocations: 136.3 kB / 424.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.2776, allocations: 24 kB / 424.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.2778, allocations: 35.91 kB / 424.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.278, allocations: 100.9 kB / 424.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001367/0.2794, allocations: 0.9921 MB / 425.4 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001247/0.2806, allocations: 1.023 MB / 426.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005306/0.2812, allocations: 363.8 kB / 426.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.2813, allocations: 156.5 kB / 426.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.2813, allocations: 0 / 426.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.2828, allocations: 0.6115 MB / 427.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of SimCode: time 0.001907/0.2847, allocations: 1.47 MB / 429 MB, free: 12.6 MB / 350.1 MB Notification: Performance of Templates: time 0.01439/0.2991, allocations: 8.091 MB / 437.1 MB, free: 4.547 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches