Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 85.8 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 161.9 kB / 24.82 MB, free: 9.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9645/0.9645, allocations: 177 MB / 205.1 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.583e-05, allocations: 9.266 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003795/0.003821, allocations: 1.878 MB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.005143, allocations: 0.6465 MB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.005263, allocations: 7.938 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.005401, allocations: 23.67 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.005559, allocations: 39.59 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.005873, allocations: 83.77 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.00604, allocations: 167.3 kB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.006178, allocations: 56.47 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.00634, allocations: 103.7 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.006482, allocations: 67.78 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.006511, allocations: 12 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.006588, allocations: 23.98 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.825e-05/0.006656, allocations: 47.77 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.006707, allocations: 47.84 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.006923, allocations: 155.4 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.006925, allocations: 0 / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006926, allocations: 0 / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.006931, allocations: 8 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005435/0.007474, allocations: 0.5193 MB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.007516, allocations: 11.98 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.007622, allocations: 44.78 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.007785, allocations: 180.2 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.007806, allocations: 12.66 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.007822, allocations: 24.31 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.007999, allocations: 168.1 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.008007, allocations: 192 / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.00802, allocations: 8.359 kB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.008037, allocations: 11.94 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.969e-05/0.008107, allocations: 54.94 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.008666, allocations: 0.7896 MB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.008804, allocations: 114.2 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.008844, allocations: 39.42 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.008875, allocations: 4 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.008992, allocations: 112.4 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.008993, allocations: 3.984 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002102/0.009204, allocations: 141.5 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.00924, allocations: 81.11 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.009365, allocations: 249.5 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.009382, allocations: 37.7 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/0.009469, allocations: 191.1 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.009497, allocations: 47.62 kB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.009548, allocations: 47.45 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.009693, allocations: 0.5078 MB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.729e-05/0.00973, allocations: 23.92 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.009808, allocations: 101.4 kB / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.009939, allocations: 137.9 kB / 280.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009941, allocations: 0 / 280.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001742/0.01012, allocations: 157.3 kB / 280.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.01013, allocations: 6.969 kB / 280.5 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.01014, allocations: 7.938 kB / 280.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.01015, allocations: 4 kB / 280.5 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01026, allocations: 36.11 kB / 280.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01027, allocations: 8 kB / 280.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.01033, allocations: 23.88 kB / 280.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.01034, allocations: 8 kB / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch.firstActiveIndex,multiSwitch.u[2],multiSwitch.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001087/0.01044, allocations: 172.5 kB / 280.7 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.01047, allocations: 23.91 kB / 280.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.01065, allocations: 134.9 kB / 280.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01066, allocations: 4 kB / 280.9 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01066, allocations: 0 / 280.9 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01066, allocations: 0 / 280.9 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.01079, allocations: 165.1 kB / 281 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01079, allocations: 0 / 281 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.01084, allocations: 19.98 kB / 281 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01084, allocations: 0 / 281 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.01085, allocations: 0 / 281 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01085, allocations: 4 kB / 281 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.01085, allocations: 7.875 kB / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.01099, allocations: 166.9 kB / 281.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.011, allocations: 15.86 kB / 281.2 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.01102, allocations: 4 kB / 281.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.01106, allocations: 15.98 kB / 281.3 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.0111, allocations: 19.91 kB / 281.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.01111, allocations: 8 kB / 281.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.252e-05/0.01117, allocations: 168.5 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01117, allocations: 0 / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000159/0.01133, allocations: 39.89 kB / 281.5 MB, free: 8.645 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00011/0.01144, allocations: 111.1 kB / 281.6 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.01157, allocations: 91.81 kB / 281.7 MB, free: 8.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01158, allocations: 4.062 kB / 281.7 MB, free: 8.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.717e-05/0.01163, allocations: 43.61 kB / 281.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01186, allocations: 44.67 kB / 281.8 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009588/0.01282, allocations: 355.7 kB / 282.1 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.484e-05/0.01286, allocations: 75.98 kB / 282.2 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.069e-05/0.01291, allocations: 21.47 kB / 282.2 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.01301, allocations: 110.2 kB / 282.3 MB, free: 7.734 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01301, allocations: 4 kB / 282.3 MB, free: 7.73 MB / 266.7 MB Notification: Performance of Templates: time 0.004016/0.01703, allocations: 2.438 MB / 284.8 MB, free: 5.336 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.sim & ./Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7464692341163754]