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.001662/0.001662, allocations: 114.3 kB / 21.18 MB, free: 0.625 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.002185/0.002185, allocations: 214.9 kB / 24.48 MB, free: 4.031 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.445/1.445, allocations: 230.4 MB / 258.1 MB, free: 8.125 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.001945/0.001945, allocations: 71.81 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2442, allocations: 53.31 MB / 432 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003097/0.2472, allocations: 1.911 MB / 434 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.2484, allocations: 0.6544 MB / 434.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.2485, allocations: 7.938 kB / 434.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.2486, allocations: 31.66 kB / 434.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.2488, allocations: 43.66 kB / 434.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.249, allocations: 75.84 kB / 434.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.2493, allocations: 163.4 kB / 434.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2494, allocations: 44.28 kB / 435 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.2496, allocations: 87.62 kB / 435.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.2497, allocations: 71.62 kB / 435.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.2497, allocations: 16 kB / 435.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.455e-05/0.2498, allocations: 27.97 kB / 435.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.2499, allocations: 47.84 kB / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.25, allocations: 83.48 kB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.2503, allocations: 197 kB / 435.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2503, allocations: 0 / 435.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2503, allocations: 0 / 435.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.2503, allocations: 0 / 435.5 MB, free: 3.902 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.0009091/0.2512, allocations: 0.5181 MB / 436 MB, free: 3.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2512, allocations: 11.97 kB / 436 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.2514, allocations: 32.78 kB / 436 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.2517, allocations: 244.4 kB / 436.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.2517, allocations: 8.656 kB / 436.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.2517, allocations: 16.38 kB / 436.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.2521, allocations: 204.1 kB / 436.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2521, allocations: 7.875 kB / 436.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.2521, allocations: 7.984 kB / 436.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.2521, allocations: 4 kB / 436.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.2524, allocations: 143.8 kB / 436.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.2535, allocations: 0.7702 MB / 437.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.2539, allocations: 173 kB / 437.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.254, allocations: 69.81 kB / 437.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.254, allocations: 0 / 437.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.2543, allocations: 152.2 kB / 437.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.2543, allocations: 4 kB / 437.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005633/0.2549, allocations: 257.8 kB / 438.1 MB, free: 1.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.2549, allocations: 81.05 kB / 438.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.2551, allocations: 207.1 kB / 438.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.2552, allocations: 29.7 kB / 438.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.2553, allocations: 144.2 kB / 438.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.2553, allocations: 55.62 kB / 438.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/0.2554, allocations: 41.7 kB / 438.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2555, allocations: 330.8 kB / 439 MB, free: 176 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.2557, allocations: 71.95 kB / 439 MB, free: 104 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.2559, allocations: 122.9 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.2562, allocations: 202.6 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2563, allocations: 3.938 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004431/0.2567, allocations: 245.2 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2567, allocations: 8 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2567, allocations: 0 / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2567, allocations: 4 kB / 439.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2569, allocations: 40.2 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.2569, allocations: 7.938 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.2571, allocations: 31.86 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.2571, allocations: 12 kB / 439.7 MB, free: 15.38 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.0001432/0.2572, allocations: 141.7 kB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.2573, allocations: 19.91 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.2577, allocations: 211.7 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2577, allocations: 4 kB / 440.1 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2577, allocations: 0 / 440.1 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.2578, allocations: 100.9 kB / 440.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.2578, allocations: 12 kB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.2579, allocations: 11.98 kB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.258, allocations: 23.91 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005589/0.2586, allocations: 364.2 kB / 440.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004745/0.259, allocations: 445.8 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001582/0.2592, allocations: 67.94 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.2593, allocations: 156.6 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Backend: time 2.3e-07/0.2593, allocations: 0 / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000633/0.2599, allocations: 186.2 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008954/0.2608, allocations: 0.787 MB / 442.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Templates: time 0.006038/0.2669, allocations: 2.639 MB / 444.8 MB, free: 10.16 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_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_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: 4.251863901969045]