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.001255/0.001255, allocations: 111.8 kB / 19.17 MB, free: 3.871 MB / 14.72 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.00135/0.00135, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 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.435/1.435, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.89 kB / 374.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09731, allocations: 53.31 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003383/0.1007, allocations: 1.892 MB / 429.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1019, allocations: 0.6583 MB / 430.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.126e-05/0.102, allocations: 7.938 kB / 430.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.1022, allocations: 31.67 kB / 430.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1023, allocations: 35.66 kB / 430.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.1026, allocations: 75.84 kB / 430.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.1029, allocations: 171.3 kB / 430.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.1031, allocations: 56.27 kB / 430.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1032, allocations: 75.66 kB / 430.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1034, allocations: 79.59 kB / 430.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.1034, allocations: 16 kB / 430.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.377e-05/0.1035, allocations: 20 kB / 430.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.746e-05/0.1036, allocations: 43.84 kB / 431 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.652e-05/0.1037, allocations: 87.47 kB / 431.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.104, allocations: 191 kB / 431.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.104, allocations: 3.938 kB / 431.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.104, allocations: 0 / 431.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.104, allocations: 4 kB / 431.3 MB, free: 1.043 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000972/0.105, allocations: 0.522 MB / 431.8 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.105, allocations: 8.031 kB / 431.8 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.1052, allocations: 28.8 kB / 431.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.1055, allocations: 244 kB / 432.1 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.1055, allocations: 8.656 kB / 432.1 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.1055, allocations: 20.36 kB / 432.1 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.1059, allocations: 199.2 kB / 432.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1059, allocations: 0 / 432.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.106, allocations: 4 kB / 432.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.106, allocations: 15.98 kB / 432.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.1063, allocations: 146.6 kB / 432.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.1075, allocations: 0.7702 MB / 433.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.1078, allocations: 161 kB / 433.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.108, allocations: 73.8 kB / 433.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.108, allocations: 8 kB / 433.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.1083, allocations: 142.7 kB / 433.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.1083, allocations: 0 / 433.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006183/0.1089, allocations: 258.2 kB / 433.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.109, allocations: 81.11 kB / 433.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.1092, allocations: 211.1 kB / 434.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1093, allocations: 29.7 kB / 434.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1094, allocations: 144.3 kB / 434.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.1094, allocations: 43.62 kB / 434.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/0.1095, allocations: 41.7 kB / 434.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1097, allocations: 334.8 kB / 434.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.1098, allocations: 71.95 kB / 434.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.11, allocations: 122.8 kB / 434.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.1104, allocations: 206.7 kB / 435.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1104, allocations: 0 / 435.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004776/0.1109, allocations: 249.2 kB / 435.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1109, allocations: 8 kB / 435.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1109, allocations: 0 / 435.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.111, allocations: 4 kB / 435.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.1111, allocations: 35.91 kB / 435.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1111, allocations: 4 kB / 435.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.1113, allocations: 27.88 kB / 435.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.1113, allocations: 16.19 kB / 435.4 MB, free: 12.54 MB / 366.1 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.0001449/0.1115, allocations: 145.7 kB / 435.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.1115, allocations: 15.91 kB / 435.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/0.112, allocations: 214.8 kB / 435.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.112, allocations: 0 / 435.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.112, allocations: 4 kB / 435.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.112, allocations: 7.984 kB / 435.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.1123, allocations: 273.4 kB / 436.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1123, allocations: 112 / 436.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.1124, allocations: 27.86 kB / 436.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.1124, allocations: 7.984 kB / 436.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1124, allocations: 3.984 kB / 436.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1124, allocations: 0 / 436.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.1124, allocations: 4 kB / 436.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.1129, allocations: 233.6 kB / 436.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.1129, allocations: 92.95 kB / 436.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.113, allocations: 8 kB / 436.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.1131, allocations: 15.97 kB / 436.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.1132, allocations: 15.98 kB / 436.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1132, allocations: 4 kB / 436.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.1133, allocations: 148.7 kB / 436.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1133, allocations: 4 kB / 436.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1136, allocations: 39.89 kB / 436.7 MB, free: 11.2 MB / 366.1 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.0001771/0.1138, allocations: 99.25 kB / 436.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004343/0.1142, allocations: 167.8 kB / 436.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1142, allocations: 288 / 436.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.1144, allocations: 84.27 kB / 437 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1147, allocations: 50.45 kB / 437.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.1155, allocations: 410.7 kB / 437.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.1159, allocations: 0.7358 MB / 438.2 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.116, allocations: 27.42 kB / 438.2 MB, free: 9.57 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.116, allocations: 0 / 438.2 MB, free: 9.57 MB / 366.1 MB Notification: Performance of Templates: time 0.004961/0.1209, allocations: 2.452 MB / 440.7 MB, free: 7.129 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.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: 7.326304018031806]