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.001365/0.001365, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001529/0.001529, allocations: 213.5 kB / 24.5 MB, free: 4.148 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.459/1.459, allocations: 230.5 MB / 258.1 MB, free: 7.984 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.002438/0.002438, allocations: 68.08 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2882, allocations: 53.41 MB / 432.4 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003441/0.2917, allocations: 1.905 MB / 434.3 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.2931, allocations: 0.6583 MB / 435 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.2932, allocations: 7.938 kB / 435 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.2933, allocations: 27.67 kB / 435 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.2935, allocations: 35.66 kB / 435.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.2939, allocations: 87.72 kB / 435.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.2942, allocations: 171.4 kB / 435.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.2943, allocations: 44.58 kB / 435.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.2945, allocations: 83.62 kB / 435.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.2947, allocations: 79.62 kB / 435.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.2947, allocations: 12 kB / 435.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.569e-05/0.2948, allocations: 27.98 kB / 435.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.2949, allocations: 47.77 kB / 435.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.295, allocations: 79.55 kB / 435.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.2953, allocations: 200.5 kB / 435.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2953, allocations: 0 / 435.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2953, allocations: 4 kB / 435.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.2953, allocations: 0 / 435.9 MB, free: 3.41 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.0009472/0.2963, allocations: 445.5 kB / 436.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2963, allocations: 12.03 kB / 436.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.2965, allocations: 32.78 kB / 436.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.2968, allocations: 178.8 kB / 436.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2968, allocations: 12.66 kB / 436.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.2968, allocations: 12.38 kB / 436.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.2972, allocations: 208.2 kB / 436.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2972, allocations: 0 / 436.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.2973, allocations: 4 kB / 436.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.2973, allocations: 12 kB / 436.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.2976, allocations: 143.8 kB / 436.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.2988, allocations: 0.7458 MB / 437.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.2991, allocations: 169 kB / 437.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.2993, allocations: 69.81 kB / 437.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.2993, allocations: 4 kB / 437.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.2996, allocations: 145 kB / 438 MB, free: 1.078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.2996, allocations: 0 / 438 MB, free: 1.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005892/0.3002, allocations: 257.7 kB / 438.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.3003, allocations: 89.11 kB / 438.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.3005, allocations: 200.2 kB / 438.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3005, allocations: 33.7 kB / 438.6 MB, free: 484 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3006, allocations: 144.2 kB / 438.8 MB, free: 336 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.3007, allocations: 47.58 kB / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.3007, allocations: 45.7 kB / 438.8 MB, free: 236 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3009, allocations: 326.8 kB / 439.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.3011, allocations: 71.95 kB / 439.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.3013, allocations: 133.8 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.3016, allocations: 202.7 kB / 439.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3016, allocations: 0 / 439.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004683/0.3021, allocations: 249.8 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3021, allocations: 8.109 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3021, allocations: 3.938 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3022, allocations: 4 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.3023, allocations: 31.98 kB / 439.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3024, allocations: 7.938 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.3025, allocations: 28.05 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3025, allocations: 12 kB / 439.9 MB, free: 15.11 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.0001537/0.3027, allocations: 145.8 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.3027, allocations: 15.91 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.3032, allocations: 211 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3032, allocations: 4 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3032, allocations: 3.938 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3032, allocations: 0 / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.3035, allocations: 256.4 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3035, allocations: 0 / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.3036, allocations: 19.98 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3036, allocations: 0 / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3036, allocations: 8 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3036, allocations: 96 / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3036, allocations: 3.938 kB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.304, allocations: 233.6 kB / 440.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.3041, allocations: 15.84 kB / 440.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.3041, allocations: 11.98 kB / 440.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.3042, allocations: 15.98 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.3043, allocations: 19.97 kB / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.3043, allocations: 0 / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.3044, allocations: 151.5 kB / 441 MB, free: 13.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3044, allocations: 8 kB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.3047, allocations: 35.95 kB / 441 MB, free: 13.9 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.000155/0.3049, allocations: 105.9 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004025/0.3053, allocations: 159.8 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3053, allocations: 4 kB / 441.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.3055, allocations: 80.27 kB / 441.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.3058, allocations: 45.62 kB / 441.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.3066, allocations: 403 kB / 441.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.307, allocations: 0.7397 MB / 442.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.307, allocations: 27.36 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.307, allocations: 4 kB / 442.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of Templates: time 0.005138/0.3122, allocations: 2.458 MB / 445 MB, free: 9.836 MB / 350.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.341478809947148]