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.00126/0.00126, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001039/0.001039, allocations: 165.3 kB / 25.61 MB, free: 8.906 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 1.079/1.079, allocations: 177 MB / 205.9 MB, free: 4.445 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.773e-06/1.773e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.072e-05, allocations: 2.312 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003415/0.003436, allocations: 1.881 MB / 276 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.004712, allocations: 0.6483 MB / 276.6 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.00484, allocations: 7.938 kB / 276.6 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.004975, allocations: 20.64 kB / 276.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.005147, allocations: 44.22 kB / 276.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.005514, allocations: 78.25 kB / 276.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.005814, allocations: 175.3 kB / 277 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.00602, allocations: 40.56 kB / 277 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.006263, allocations: 111.6 kB / 277.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.006426, allocations: 67.78 kB / 277.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.006457, allocations: 13.66 kB / 277.2 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.006543, allocations: 24 kB / 277.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/0.006636, allocations: 43.83 kB / 277.2 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.006703, allocations: 51.83 kB / 277.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.006947, allocations: 151.3 kB / 277.4 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.00695, allocations: 4.641 kB / 277.5 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.006951, allocations: 0.5312 kB / 277.5 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006956, allocations: 0 / 277.5 MB, free: 0.9219 MB / 250.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.0006569/0.007613, allocations: 0.5277 MB / 278 MB, free: 364 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.007648, allocations: 12.03 kB / 278 MB, free: 352 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.007795, allocations: 40.78 kB / 278 MB, free: 312 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.008032, allocations: 184.2 kB / 278.2 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.008057, allocations: 8.656 kB / 278.2 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.008077, allocations: 16.38 kB / 278.2 MB, free: 76 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.008322, allocations: 159.5 kB / 278.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.008333, allocations: 192 / 278.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.00835, allocations: 12.38 kB / 278.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.008372, allocations: 11.92 kB / 278.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.174e-05/0.008464, allocations: 50.47 kB / 278.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007452/0.009209, allocations: 0.8051 MB / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.009381, allocations: 106.1 kB / 279.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/0.009433, allocations: 39.48 kB / 279.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.009467, allocations: 7.938 kB / 279.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.009593, allocations: 116.5 kB / 279.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.009595, allocations: 0 / 279.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002184/0.009813, allocations: 137.6 kB / 279.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.009854, allocations: 81.11 kB / 279.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.009971, allocations: 249.5 kB / 280 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.009987, allocations: 33.7 kB / 280 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.01007, allocations: 191.1 kB / 280.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.0101, allocations: 47.62 kB / 280.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.01015, allocations: 51.34 kB / 280.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.01027, allocations: 0.5079 MB / 280.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/0.0103, allocations: 23.92 kB / 280.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.696e-05/0.01037, allocations: 98.67 kB / 280.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.01049, allocations: 129.3 kB / 281.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01049, allocations: 0 / 281.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001551/0.01064, allocations: 158 kB / 281.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.01065, allocations: 4 kB / 281.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.01067, allocations: 7.938 kB / 281.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.01068, allocations: 4 kB / 281.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.01078, allocations: 39.92 kB / 281.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.01078, allocations: 4 kB / 281.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.185e-05/0.01084, allocations: 23.88 kB / 281.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.01085, allocations: 4.188 kB / 281.3 MB, free: 12.74 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.0002061/0.01106, allocations: 184.6 kB / 281.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.01108, allocations: 27.84 kB / 281.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.01124, allocations: 139 kB / 281.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01124, allocations: 0 / 281.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01124, allocations: 0 / 281.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.01125, allocations: 0 / 281.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.01138, allocations: 165.1 kB / 281.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01138, allocations: 0 / 281.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.01142, allocations: 19.98 kB / 281.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01142, allocations: 4 kB / 281.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.01143, allocations: 0 / 281.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01143, allocations: 4 kB / 281.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01144, allocations: 3.938 kB / 281.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.01157, allocations: 166.1 kB / 282 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.01159, allocations: 15.86 kB / 282 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.0116, allocations: 8 kB / 282 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.01164, allocations: 7.984 kB / 282 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.01168, allocations: 23.91 kB / 282.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.01169, allocations: 4 kB / 282.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.081e-05/0.01175, allocations: 168.5 kB / 282.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01175, allocations: 4 kB / 282.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001719/0.01192, allocations: 39.94 kB / 282.3 MB, free: 11.71 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 9.045e-05/0.01201, allocations: 105.1 kB / 282.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.01214, allocations: 91.5 kB / 282.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.01214, allocations: 0 / 282.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.149e-05/0.0122, allocations: 47.61 kB / 282.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.0124, allocations: 44.34 kB / 282.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.01292, allocations: 359.7 kB / 282.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.222e-05/0.01296, allocations: 75.98 kB / 283 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.33e-05/0.01301, allocations: 21.47 kB / 283 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.54e-05/0.01311, allocations: 114.2 kB / 283.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01311, allocations: 0 / 283.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of Templates: time 0.003898/0.01701, allocations: 2.477 MB / 285.6 MB, free: 8.395 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.9170443709008396]