Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001031/0.001031, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001008/0.001008, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9496/0.9496, allocations: 177 MB / 204.1 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.164e-05, allocations: 2.281 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00378/0.003802, allocations: 3.449 MB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.005955, allocations: 0.9737 MB / 329 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.006187, allocations: 11.94 kB / 329 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.006416, allocations: 75.22 kB / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.006761, allocations: 162.5 kB / 329.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.007161, allocations: 179.6 kB / 329.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005469/0.007708, allocations: 0.6532 MB / 330 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.007972, allocations: 136.6 kB / 330.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004896/0.008461, allocations: 375.1 kB / 330.5 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.008753, allocations: 179.4 kB / 330.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.008817, allocations: 56 kB / 330.8 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.656e-05/0.008913, allocations: 63.98 kB / 330.8 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.49e-05/0.009008, allocations: 127.5 kB / 330.9 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.00917, allocations: 183.5 kB / 331.1 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.009806, allocations: 0.662 MB / 331.8 MB, free: 8.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.009811, allocations: 0 / 331.8 MB, free: 8.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.009812, allocations: 4 kB / 331.8 MB, free: 8.566 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.00982, allocations: 0 / 331.8 MB, free: 8.566 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001174/0.01099, allocations: 0.8438 MB / 332.6 MB, free: 7.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.01104, allocations: 15.98 kB / 332.7 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.27e-05/0.01112, allocations: 78.72 kB / 332.7 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.0113, allocations: 68.59 kB / 332.8 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.01169, allocations: 318.4 kB / 333.1 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.01171, allocations: 29.38 kB / 333.1 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.01176, allocations: 48.36 kB / 333.2 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/0.01231, allocations: 483.8 kB / 333.7 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.01233, allocations: 3.938 kB / 333.7 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.01236, allocations: 20 kB / 333.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.01237, allocations: 12 kB / 333.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.01277, allocations: 323.7 kB / 334 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.01444, allocations: 1.701 MB / 335.7 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.01492, allocations: 343.7 kB / 336 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.01529, allocations: 253.3 kB / 336.3 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.01532, allocations: 4.328 kB / 336.3 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.01563, allocations: 298.8 kB / 336.6 MB, free: 3.531 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.01563, allocations: 0 / 336.6 MB, free: 3.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001431/0.01707, allocations: 0.7748 MB / 337.4 MB, free: 2.746 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.01713, allocations: 85.11 kB / 337.4 MB, free: 2.645 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.01738, allocations: 324.5 kB / 337.8 MB, free: 2.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.01741, allocations: 33.7 kB / 337.8 MB, free: 2.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.01753, allocations: 224.7 kB / 338 MB, free: 2.055 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.617e-05/0.0176, allocations: 138.8 kB / 338.2 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/0.0177, allocations: 86.14 kB / 338.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.0178, allocations: 354.7 kB / 338.6 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.01796, allocations: 124.9 kB / 338.7 MB, free: 1.352 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.0182, allocations: 286 kB / 339 MB, free: 1.004 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.01859, allocations: 382.6 kB / 339.4 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.01859, allocations: 4 kB / 339.4 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000604/0.0192, allocations: 0.5051 MB / 339.9 MB, free: 60 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01921, allocations: 8 kB / 339.9 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.01923, allocations: 7.984 kB / 339.9 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/0.01955, allocations: 145 kB / 340 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.0197, allocations: 67.91 kB / 340.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.02162, allocations: 2.413 MB / 342.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.02178, allocations: 43.73 kB / 342.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.0218, allocations: 16 kB / 342.6 MB, free: 13.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.02196, allocations: 177.7 kB / 342.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.022, allocations: 43.72 kB / 342.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/0.02207, allocations: 52.34 kB / 342.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.02207, allocations: 15.88 kB / 342.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.02207, allocations: 0 / 342.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.02208, allocations: 3.984 kB / 342.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009727/0.02305, allocations: 0.9222 MB / 343.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.02306, allocations: 0 / 343.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.53e-05/0.02315, allocations: 39.92 kB / 343.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/0.02338, allocations: 149 kB / 344 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.0234, allocations: 11.94 kB / 344 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.02513, allocations: 2.398 MB / 346.4 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02513, allocations: 0 / 346.4 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007216/0.02585, allocations: 0.7036 MB / 347.1 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.02596, allocations: 75.64 kB / 347.1 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.02599, allocations: 12 kB / 347.2 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.0261, allocations: 19.92 kB / 347.2 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/0.02618, allocations: 43.72 kB / 347.2 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.0262, allocations: 11.98 kB / 347.2 MB, free: 8.383 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.02635, allocations: 227.1 kB / 347.4 MB, free: 8.164 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02635, allocations: 0 / 347.4 MB, free: 8.164 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003946/0.02675, allocations: 143.8 kB / 347.6 MB, free: 8.023 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009637/0.02771, allocations: 1.277 MB / 348.9 MB, free: 6.711 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006729/0.02838, allocations: 0.5175 MB / 349.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02838, allocations: 0 / 349.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.02871, allocations: 367.1 kB / 349.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.02904, allocations: 88.75 kB / 349.8 MB, free: 5.727 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/0.03263, allocations: 3.977 MB / 353.8 MB, free: 1.555 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.03279, allocations: 228.8 kB / 354 MB, free: 1.309 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.0329, allocations: 43.33 kB / 354.1 MB, free: 1.262 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.03303, allocations: 144.5 kB / 354.2 MB, free: 1.121 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03303, allocations: 4 kB / 354.2 MB, free: 1.117 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.06281, allocations: 11.59 MB / 365.8 MB, free: 5.805 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/7.812, allocations: 3.75 kB / 365.8 MB, free: 5.805 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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: 9.589085404761136]