Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001899/0.001899, allocations: 106.2 kB / 18.4 MB, free: 4.652 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.001828/0.001828, allocations: 181.5 kB / 19.34 MB, free: 3.727 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.314/1.314, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001211/0.001211, allocations: 48.41 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07328/0.0745, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.003382/0.07792, allocations: 2.506 MB / 378.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.07938, allocations: 0.8646 MB / 379.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.07956, allocations: 19.88 kB / 379.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.07981, allocations: 102.8 kB / 379.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.07997, allocations: 83.14 kB / 379.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.08083, allocations: 459.3 kB / 379.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1553/0.2362, allocations: 1.123 MB / 381 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.2372, allocations: 0.7935 MB / 381.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003679/0.2376, allocations: 388.7 kB / 382.1 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.2381, allocations: 421.2 kB / 382.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.2383, allocations: 99.47 kB / 382.6 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.2385, allocations: 118.5 kB / 382.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.2388, allocations: 254.5 kB / 383 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.2391, allocations: 421.3 kB / 383.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.2401, allocations: 1.069 MB / 384.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2401, allocations: 1.406 kB / 384.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2402, allocations: 0.6562 kB / 384.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.2402, allocations: 0 / 384.5 MB, free: 9.215 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.001464/0.2417, allocations: 1.115 MB / 385.6 MB, free: 8.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2417, allocations: 10.06 kB / 385.6 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.2419, allocations: 97.56 kB / 385.7 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.2424, allocations: 461 kB / 386.2 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.531e-05/0.2425, allocations: 91.22 kB / 386.2 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.2426, allocations: 110.8 kB / 386.4 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.2441, allocations: 0.9588 MB / 387.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.2441, allocations: 2.25 kB / 387.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.617e-05/0.2442, allocations: 42.78 kB / 387.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.2442, allocations: 26.94 kB / 387.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.2455, allocations: 0.7171 MB / 388.1 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/0.2483, allocations: 2.437 MB / 390.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009159/0.2492, allocations: 0.6753 MB / 391.2 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.2497, allocations: 334.2 kB / 391.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.956e-05/0.2498, allocations: 15.11 kB / 391.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006199/0.2504, allocations: 446 kB / 392 MB, free: 5.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.655e-06/0.2504, allocations: 0 / 392 MB, free: 5.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.001427/0.2519, allocations: 0.8431 MB / 392.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.2519, allocations: 99.62 kB / 392.9 MB, free: 4.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.2522, allocations: 330.2 kB / 393.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.3e-05/0.2523, allocations: 72.41 kB / 393.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.2524, allocations: 315.3 kB / 393.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.2526, allocations: 258.1 kB / 393.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.2529, allocations: 273.5 kB / 394.1 MB, free: 4.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.253, allocations: 366 kB / 394.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.2535, allocations: 268.9 kB / 394.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.254, allocations: 494.8 kB / 395.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/0.2548, allocations: 0.664 MB / 395.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2549, allocations: 1.5 kB / 395.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001228/0.2561, allocations: 0.8764 MB / 396.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2561, allocations: 7.375 kB / 396.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.2561, allocations: 7.625 kB / 396.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.2562, allocations: 11.28 kB / 396.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.2566, allocations: 115.3 kB / 396.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/0.2566, allocations: 14.94 kB / 396.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.2569, allocations: 103.8 kB / 397 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.257, allocations: 59.62 kB / 397.1 MB, free: 2.438 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 124 ($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,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 (154): * Single equations (assignments): 154 * 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.000306/0.2573, allocations: 308.6 kB / 397.4 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.2574, allocations: 49.56 kB / 397.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.2586, allocations: 0.75 MB / 398.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.2586, allocations: 18.45 kB / 398.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2586, allocations: 0 / 398.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.2587, allocations: 138.9 kB / 398.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/0.2588, allocations: 21.03 kB / 398.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.259, allocations: 32.02 kB / 398.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.2592, allocations: 101.7 kB / 398.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001244/0.2604, allocations: 0.9088 MB / 399.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001043/0.2615, allocations: 0.9383 MB / 400.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004629/0.262, allocations: 362.3 kB / 400.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.2621, allocations: 156.5 kB / 400.9 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of Backend: time 7.21e-07/0.2621, allocations: 0 / 400.9 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.2633, allocations: 0.5962 MB / 401.5 MB, free: 328 kB / 318.1 MB Notification: Performance of SimCode: time 0.001709/0.265, allocations: 1.493 MB / 403 MB, free: 15.28 MB / 334.1 MB Notification: Performance of Templates: time 0.01433/0.2793, allocations: 8.037 MB / 411 MB, free: 11.39 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/ExecutionPaths/ExecutionPaths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches