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.001411/0.001411, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001583/0.001583, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.617/1.617, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.001997/0.001997, allocations: 63.89 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4337, allocations: 53.41 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003419/0.4371, allocations: 1.82 MB / 434.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.4385, allocations: 0.6271 MB / 434.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.4386, allocations: 4 kB / 434.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.4388, allocations: 27.61 kB / 434.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.439, allocations: 35.66 kB / 434.9 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.4393, allocations: 83.78 kB / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.4396, allocations: 163.5 kB / 435.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.4398, allocations: 52.34 kB / 435.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.44, allocations: 75.66 kB / 435.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.4402, allocations: 79.55 kB / 435.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.4402, allocations: 12 kB / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.4403, allocations: 27.92 kB / 435.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.304e-05/0.4404, allocations: 43.84 kB / 435.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.4405, allocations: 71.59 kB / 435.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.4408, allocations: 186 kB / 435.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4408, allocations: 3.938 kB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4408, allocations: 0 / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.4408, allocations: 4 kB / 435.7 MB, free: 3.219 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.001037/0.4419, allocations: 453.4 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.4419, allocations: 11.98 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.4421, allocations: 36.78 kB / 436.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.4424, allocations: 186.7 kB / 436.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.4425, allocations: 16.66 kB / 436.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.4425, allocations: 16.38 kB / 436.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.4429, allocations: 200.4 kB / 436.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4429, allocations: 0 / 436.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.4429, allocations: 4 kB / 436.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.4429, allocations: 11.98 kB / 436.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.4433, allocations: 139.8 kB / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.4444, allocations: 0.6879 MB / 437.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.4447, allocations: 161 kB / 437.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.4449, allocations: 77.73 kB / 437.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.4449, allocations: 0 / 437.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/0.4452, allocations: 141 kB / 437.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.4452, allocations: 4 kB / 437.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005995/0.4458, allocations: 258.2 kB / 438 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.4459, allocations: 81.11 kB / 438.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.4461, allocations: 198.9 kB / 438.3 MB, free: 396 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.4461, allocations: 37.64 kB / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.4462, allocations: 148.3 kB / 438.5 MB, free: 200 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.4463, allocations: 47.58 kB / 438.5 MB, free: 152 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.4464, allocations: 45.7 kB / 438.6 MB, free: 100 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.4465, allocations: 334.8 kB / 438.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.4467, allocations: 67.95 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.4469, allocations: 125.9 kB / 439.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.4472, allocations: 206.7 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4472, allocations: 0 / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004368/0.4477, allocations: 253.1 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4477, allocations: 4 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4477, allocations: 4 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4477, allocations: 0 / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.4479, allocations: 44.09 kB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4479, allocations: 4 kB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.448, allocations: 23.88 kB / 439.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.4481, allocations: 12 kB / 439.6 MB, free: 14.98 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.0001546/0.4482, allocations: 141.7 kB / 439.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.4482, allocations: 19.91 kB / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004499/0.4487, allocations: 206.9 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.4487, allocations: 4 kB / 440 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4487, allocations: 4 kB / 440 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4487, allocations: 3.984 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.449, allocations: 189.1 kB / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.449, allocations: 3.938 kB / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.4491, allocations: 23.98 kB / 440.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4491, allocations: 7.984 kB / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.4491, allocations: 4 kB / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4491, allocations: 0 / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4491, allocations: 3.938 kB / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.4495, allocations: 225.8 kB / 440.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.4495, allocations: 31.78 kB / 440.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.4496, allocations: 0 / 440.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.4497, allocations: 15.97 kB / 440.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.4497, allocations: 19.97 kB / 440.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.4498, allocations: 8 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.4499, allocations: 140.5 kB / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4499, allocations: 0 / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.4501, allocations: 43.89 kB / 440.7 MB, free: 13.84 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.0001604/0.4503, allocations: 105.9 kB / 440.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003853/0.4507, allocations: 171.8 kB / 441 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4507, allocations: 4 kB / 441 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.4509, allocations: 71.91 kB / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.4512, allocations: 53.12 kB / 441.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000741/0.4519, allocations: 403 kB / 441.5 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.4521, allocations: 124.9 kB / 441.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.4521, allocations: 23.44 kB / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4521, allocations: 0 / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Templates: time 0.004995/0.4571, allocations: 2.495 MB / 444.2 MB, free: 10.36 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.451381201855838]