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.001712/0.001712, allocations: 115.3 kB / 19.18 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.00204/0.00204, allocations: 206.5 kB / 22.13 MB, free: 0.9258 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.482/1.482, allocations: 230.4 MB / 255.4 MB, free: 14.96 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.002161/0.002161, allocations: 76.05 kB / 374.7 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1117, allocations: 53.32 MB / 428.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003459/0.1152, allocations: 1.893 MB / 429.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1166, allocations: 0.6661 MB / 430.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.1168, allocations: 4 kB / 430.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.1169, allocations: 23.67 kB / 430.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.1171, allocations: 39.66 kB / 430.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.1175, allocations: 79.78 kB / 430.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.1178, allocations: 167.4 kB / 430.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.1179, allocations: 52.28 kB / 431 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.1181, allocations: 75.64 kB / 431 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.1183, allocations: 83.61 kB / 431.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.1183, allocations: 12 kB / 431.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.065e-05/0.1184, allocations: 27.98 kB / 431.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.871e-05/0.1185, allocations: 43.78 kB / 431.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.1186, allocations: 87.47 kB / 431.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.119, allocations: 191.1 kB / 431.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.119, allocations: 0 / 431.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.119, allocations: 3.938 kB / 431.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.119, allocations: 0 / 431.5 MB, free: 0.8711 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.001051/0.12, allocations: 0.5181 MB / 432 MB, free: 308 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1201, allocations: 8.031 kB / 432 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.1203, allocations: 36.78 kB / 432 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2162/0.3364, allocations: 236 kB / 432.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.3365, allocations: 11.09 kB / 432.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.3365, allocations: 15.34 kB / 432.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/0.337, allocations: 192 kB / 432.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.337, allocations: 0.5625 kB / 432.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.337, allocations: 9.312 kB / 432.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.337, allocations: 5.672 kB / 432.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.3374, allocations: 146.2 kB / 432.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.3384, allocations: 0.7838 MB / 433.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.3387, allocations: 151.6 kB / 433.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.3389, allocations: 68.77 kB / 433.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/0.3389, allocations: 9.125 kB / 433.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.3391, allocations: 151.1 kB / 433.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.3391, allocations: 0 / 433.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005863/0.3397, allocations: 257.2 kB / 434.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.3398, allocations: 85.22 kB / 434.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.3399, allocations: 207.3 kB / 434.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3399, allocations: 33.2 kB / 434.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.34, allocations: 141.2 kB / 434.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.34, allocations: 43.67 kB / 434.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.3401, allocations: 48.48 kB / 434.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.054e-05/0.3402, allocations: 335.5 kB / 434.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3403, allocations: 68.48 kB / 435 MB, free: 9.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.3405, allocations: 125.4 kB / 435.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.3408, allocations: 197.2 kB / 435.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3408, allocations: 0 / 435.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004626/0.3413, allocations: 252.9 kB / 435.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3413, allocations: 6.344 kB / 435.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3413, allocations: 1.344 kB / 435.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.3413, allocations: 7.719 kB / 435.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.3415, allocations: 29.48 kB / 435.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.3415, allocations: 4.688 kB / 435.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.3417, allocations: 35.02 kB / 435.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.3417, allocations: 8.688 kB / 435.6 MB, free: 9.641 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.000124/0.3418, allocations: 143.5 kB / 435.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.3418, allocations: 22.67 kB / 435.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.3423, allocations: 211.8 kB / 436 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3423, allocations: 6.062 kB / 436 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3423, allocations: 3.5 kB / 436 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.3423, allocations: 6.703 kB / 436 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.3426, allocations: 266.1 kB / 436.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3426, allocations: 1.188 kB / 436.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.3427, allocations: 23.12 kB / 436.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3427, allocations: 2.359 kB / 436.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3427, allocations: 6.297 kB / 436.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3427, allocations: 5.125 kB / 436.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3427, allocations: 1.828 kB / 436.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.3431, allocations: 230.1 kB / 436.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.3432, allocations: 97.34 kB / 436.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.3432, allocations: 2.062 kB / 436.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3433, allocations: 25.75 kB / 436.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.3434, allocations: 16.3 kB / 436.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3434, allocations: 4.797 kB / 436.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.3435, allocations: 146.5 kB / 436.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3435, allocations: 0 / 436.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.3438, allocations: 40.97 kB / 436.9 MB, free: 8.992 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.0001415/0.3439, allocations: 105.8 kB / 437 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003738/0.3443, allocations: 164.7 kB / 437.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3443, allocations: 4.062 kB / 437.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.3445, allocations: 81.02 kB / 437.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3448, allocations: 45.44 kB / 437.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000655/0.3454, allocations: 412.5 kB / 437.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.3456, allocations: 0.7359 MB / 438.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.3457, allocations: 23.73 kB / 438.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3457, allocations: 1.094 kB / 438.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of Templates: time 0.005775/0.3515, allocations: 2.446 MB / 440.9 MB, free: 7.738 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.395349111990072]