Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.StateGraph.Examples.ExecutionPaths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002301/0.002301, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|transition1.enableFire|transition2.enableFire|transition3.enableFire|transition4.enableFire|transition4a.enableFire|transition5.enableFire|transition6.enableFire|transition6a.enableFire|transition7.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.ExecutionPaths") translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|transition1.enableFire|transition2.enableFire|transition3.enableFire|transition4.enableFire|transition4a.enableFire|transition5.enableFire|transition6.enableFire|transition6a.enableFire|transition7.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.ExecutionPaths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 47.92 kB / 379 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2171, allocations: 53.37 MB / 432.3 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.003892/0.221, allocations: 2.425 MB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.2227, allocations: 0.9192 MB / 435.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.2229, allocations: 19.88 kB / 435.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.2232, allocations: 110.8 kB / 435.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.2234, allocations: 83.12 kB / 435.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009386/0.2243, allocations: 491.2 kB / 436.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.2255, allocations: 1.163 MB / 437.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007749/0.2262, allocations: 0.618 MB / 438.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.2266, allocations: 394.8 kB / 438.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.227, allocations: 442 kB / 439 MB, free: 100 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.2272, allocations: 100 kB / 439.1 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.2273, allocations: 108 kB / 439.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.2276, allocations: 255.2 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.2279, allocations: 346.3 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.229, allocations: 1.106 MB / 440.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.229, allocations: 0 / 440.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.229, allocations: 0 / 440.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.229, allocations: 0 / 440.9 MB, free: 14.2 MB / 350.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.001654/0.2306, allocations: 1.052 MB / 441.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2307, allocations: 8.031 kB / 441.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00099/0.2316, allocations: 160.3 kB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.2323, allocations: 390.5 kB / 442.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.401e-05/0.2324, allocations: 90.36 kB / 442.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.2326, allocations: 116.4 kB / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.2342, allocations: 0.9547 MB / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.2342, allocations: 192 / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-05/0.2343, allocations: 47.92 kB / 443.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.2343, allocations: 24 kB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.2355, allocations: 0.7104 MB / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.2386, allocations: 2.1 MB / 446.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009631/0.2396, allocations: 0.6057 MB / 447.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.24, allocations: 289.2 kB / 447.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.331e-05/0.2401, allocations: 13 kB / 447.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007004/0.2408, allocations: 439.6 kB / 447.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 3.727e-06/0.2408, allocations: 0 / 447.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.00153/0.2423, allocations: 0.8362 MB / 448.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.502e-05/0.2424, allocations: 133.1 kB / 448.8 MB, free: 6.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.2428, allocations: 332.5 kB / 449.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.656e-05/0.2428, allocations: 77.69 kB / 449.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.2431, allocations: 313.9 kB / 449.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.2433, allocations: 262 kB / 449.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.2436, allocations: 266.9 kB / 450 MB, free: 4.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.2438, allocations: 366.8 kB / 450.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.2443, allocations: 270.5 kB / 450.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.2449, allocations: 0.4887 MB / 451.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009284/0.2458, allocations: 0.6484 MB / 451.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.2459, allocations: 7.938 kB / 451.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001343/0.2472, allocations: 0.8718 MB / 452.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2472, allocations: 4 kB / 452.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.2472, allocations: 8 kB / 452.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.2473, allocations: 15.94 kB / 452.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.2477, allocations: 107.7 kB / 452.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/0.2477, allocations: 15.94 kB / 452.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.248, allocations: 111.3 kB / 452.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/0.2481, allocations: 44 kB / 452.9 MB, free: 1.648 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.0003745/0.2485, allocations: 307.8 kB / 453.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.2486, allocations: 51.67 kB / 453.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.2487, allocations: 65.27 kB / 453.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.2487, allocations: 3.984 kB / 453.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2487, allocations: 0 / 453.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.2488, allocations: 59.47 kB / 453.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.2488, allocations: 23.98 kB / 453.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.249, allocations: 35.91 kB / 453.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.2492, allocations: 108.8 kB / 453.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001293/0.2505, allocations: 0.9063 MB / 454.5 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001131/0.2517, allocations: 0.9529 MB / 455.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004754/0.2521, allocations: 303.8 kB / 455.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.2523, allocations: 160.4 kB / 455.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of Backend: time 7.52e-07/0.2523, allocations: 4.062 kB / 455.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.2536, allocations: 0.5406 MB / 456.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of SimCode: time 0.001897/0.2555, allocations: 1.458 MB / 457.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of Templates: time 0.01577/0.2713, allocations: 8.657 MB / 466.6 MB, free: 4.062 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.StateGraph.Examples.ExecutionPaths.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_4.1.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_4.1.0_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_4.1.0_Modelica.StateGraph.Examples.ExecutionPaths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.StateGraph.Examples.ExecutionPaths_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/ExecutionPaths/ExecutionPaths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.StateGraph.Examples.ExecutionPaths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.516691622993676]