Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008842/0.008842, allocations: 103.8 kB / 21.98 MB, free: 5.207 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.002196/0.002196, allocations: 224 kB / 25.3 MB, free: 3.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 259 MB, free: 8.02 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.RealNetwork1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 68.77 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2361, allocations: 53.36 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003353/0.2394, allocations: 1.914 MB / 435.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2409, allocations: 0.6583 MB / 435.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.241, allocations: 7.938 kB / 435.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.2411, allocations: 35.66 kB / 435.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.2413, allocations: 35.66 kB / 435.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.2416, allocations: 75.84 kB / 435.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.2419, allocations: 175.3 kB / 436.1 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.242, allocations: 44.58 kB / 436.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.2422, allocations: 83.62 kB / 436.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.2424, allocations: 79.62 kB / 436.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.2424, allocations: 12 kB / 436.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.678e-05/0.2425, allocations: 27.98 kB / 436.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.683e-05/0.2426, allocations: 51.77 kB / 436.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.949e-05/0.2427, allocations: 75.55 kB / 436.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.243, allocations: 196.3 kB / 436.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.243, allocations: 3.938 kB / 436.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.243, allocations: 0 / 436.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.243, allocations: 0 / 436.6 MB, free: 3.508 MB / 334.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.0009856/0.244, allocations: 457.4 kB / 437.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.244, allocations: 8.031 kB / 437.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.2442, allocations: 32.78 kB / 437.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.2445, allocations: 174.8 kB / 437.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.2445, allocations: 16.66 kB / 437.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.2446, allocations: 16.38 kB / 437.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.245, allocations: 204 kB / 437.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.245, allocations: 0 / 437.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.245, allocations: 8 kB / 437.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.245, allocations: 4 kB / 437.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.2453, allocations: 151.8 kB / 437.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2465, allocations: 0.7459 MB / 438.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.2469, allocations: 157 kB / 438.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.247, allocations: 73.8 kB / 438.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/0.2471, allocations: 4 kB / 438.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.2473, allocations: 151.8 kB / 438.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.2473, allocations: 0 / 438.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006277/0.248, allocations: 253.7 kB / 439 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.248, allocations: 85.09 kB / 439.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.2483, allocations: 211.1 kB / 439.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.2483, allocations: 29.7 kB / 439.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.2484, allocations: 148.2 kB / 439.5 MB, free: 424 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.2485, allocations: 43.62 kB / 439.5 MB, free: 380 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.2485, allocations: 45.7 kB / 439.6 MB, free: 328 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.2487, allocations: 330.8 kB / 439.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.2489, allocations: 67.95 kB / 440 MB, free: 15.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.2491, allocations: 122.8 kB / 440.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.2495, allocations: 207.2 kB / 440.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2495, allocations: 0 / 440.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004514/0.2499, allocations: 245.3 kB / 440.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.2499, allocations: 12.09 kB / 440.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2499, allocations: 3.938 kB / 440.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.25, allocations: 4 kB / 440.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.2501, allocations: 35.92 kB / 440.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.2502, allocations: 8.062 kB / 440.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.2503, allocations: 31.86 kB / 440.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.2503, allocations: 12 kB / 440.6 MB, free: 15.2 MB / 350.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.0001784/0.2505, allocations: 153.7 kB / 440.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.2506, allocations: 15.91 kB / 440.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004928/0.251, allocations: 210.9 kB / 441 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.251, allocations: 0 / 441 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.2511, allocations: 4 kB / 441 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2511, allocations: 0 / 441 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.2514, allocations: 244.5 kB / 441.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2514, allocations: 4 kB / 441.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.2515, allocations: 31.91 kB / 441.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2515, allocations: 0 / 441.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.2515, allocations: 4 kB / 441.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.2515, allocations: 4 kB / 441.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2515, allocations: 0 / 441.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.2519, allocations: 225.7 kB / 441.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.252, allocations: 19.84 kB / 441.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.252, allocations: 4 kB / 441.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2521, allocations: 19.91 kB / 441.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.2522, allocations: 19.97 kB / 441.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2522, allocations: 4 kB / 441.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.2524, allocations: 148.6 kB / 441.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2524, allocations: 0 / 441.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.2527, allocations: 39.89 kB / 441.8 MB, free: 13.99 MB / 350.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.0001674/0.2528, allocations: 107.2 kB / 441.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.2533, allocations: 163.8 kB / 442 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2533, allocations: 0 / 442 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.2535, allocations: 80.17 kB / 442.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.2539, allocations: 55.22 kB / 442.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007697/0.2546, allocations: 395.1 kB / 442.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.255, allocations: 0.7397 MB / 443.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.2551, allocations: 31.36 kB / 443.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2551, allocations: 3.938 kB / 443.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of Templates: time 0.004865/0.26, allocations: 2.439 MB / 445.8 MB, free: 9.938 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.RealNetwork1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.RealNetwork1.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.RealNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.RealNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.379268127959222]