Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009462/0.0009462, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8928/0.8928, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.503e-05, allocations: 4.812 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003299/0.003314, allocations: 3.453 MB / 328 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.004758, allocations: 0.9659 MB / 329 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.004929, allocations: 11.94 kB / 329 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.005117, allocations: 75.22 kB / 329.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.005394, allocations: 162.6 kB / 329.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.005802, allocations: 175.6 kB / 329.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004393/0.006241, allocations: 0.6454 MB / 330.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.006456, allocations: 136.6 kB / 330.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.006783, allocations: 363.1 kB / 330.6 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.006999, allocations: 187.4 kB / 330.7 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/0.007051, allocations: 56 kB / 330.8 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.459e-05/0.007125, allocations: 63.98 kB / 330.9 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.007195, allocations: 123.5 kB / 331 MB, free: 9.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.007324, allocations: 195.5 kB / 331.2 MB, free: 9.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.007898, allocations: 0.6581 MB / 331.8 MB, free: 8.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.0079, allocations: 0 / 331.8 MB, free: 8.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.007901, allocations: 0 / 331.8 MB, free: 8.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.007908, allocations: 3.938 kB / 331.8 MB, free: 8.668 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.0009807/0.008889, allocations: 0.8438 MB / 332.7 MB, free: 7.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.008931, allocations: 12.03 kB / 332.7 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.596e-05/0.008997, allocations: 78.7 kB / 332.8 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.009127, allocations: 68.59 kB / 332.8 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.00946, allocations: 314.5 kB / 333.1 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.009483, allocations: 37.31 kB / 333.2 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.009527, allocations: 44.38 kB / 333.2 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.01003, allocations: 479.9 kB / 333.7 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.01005, allocations: 7.938 kB / 333.7 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.01008, allocations: 19.98 kB / 333.7 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.01008, allocations: 11.94 kB / 333.7 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.01045, allocations: 319.8 kB / 334 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.0122, allocations: 1.678 MB / 335.7 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.01266, allocations: 368.1 kB / 336.1 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.01301, allocations: 249.4 kB / 336.3 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.01304, allocations: 8.328 kB / 336.3 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.01334, allocations: 290.9 kB / 336.6 MB, free: 3.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.382e-06/0.01334, allocations: 0 / 336.6 MB, free: 3.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001344/0.01468, allocations: 0.7719 MB / 337.4 MB, free: 2.871 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.01473, allocations: 97.03 kB / 337.5 MB, free: 2.758 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.01496, allocations: 324.5 kB / 337.8 MB, free: 2.434 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.01499, allocations: 37.7 kB / 337.8 MB, free: 2.391 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.0151, allocations: 224.7 kB / 338.1 MB, free: 2.164 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/0.01517, allocations: 134.9 kB / 338.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/0.01525, allocations: 90.14 kB / 338.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.01535, allocations: 350.7 kB / 338.6 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.01549, allocations: 120.9 kB / 338.7 MB, free: 1.469 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.0157, allocations: 282 kB / 339 MB, free: 1.125 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.01607, allocations: 382.6 kB / 339.4 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01607, allocations: 4 kB / 339.4 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005371/0.01661, allocations: 0.5015 MB / 339.9 MB, free: 188 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.01662, allocations: 8 kB / 339.9 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01663, allocations: 4 kB / 339.9 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/0.01693, allocations: 159.6 kB / 340.1 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.0171, allocations: 59.91 kB / 340.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.01886, allocations: 2.413 MB / 342.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.019, allocations: 51.77 kB / 342.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01901, allocations: 16 kB / 342.6 MB, free: 13.37 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.0001383/0.01915, allocations: 180.9 kB / 342.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.01919, allocations: 43.72 kB / 342.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/0.01924, allocations: 52.34 kB / 342.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01925, allocations: 4 kB / 342.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.01925, allocations: 0 / 342.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.01925, allocations: 3.984 kB / 342.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008925/0.02014, allocations: 0.93 MB / 343.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02015, allocations: 0 / 343.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.682e-05/0.02023, allocations: 35.97 kB / 343.8 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002215/0.02046, allocations: 140.8 kB / 344 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.02047, allocations: 12 kB / 344 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.02216, allocations: 2.405 MB / 346.4 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02216, allocations: 0 / 346.4 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.02288, allocations: 0.7061 MB / 347.1 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.547e-05/0.02298, allocations: 87.66 kB / 347.2 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.02301, allocations: 11.92 kB / 347.2 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.02311, allocations: 19.94 kB / 347.2 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.02318, allocations: 39.7 kB / 347.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.0232, allocations: 12 kB / 347.3 MB, free: 8.492 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.02334, allocations: 227.1 kB / 347.5 MB, free: 8.273 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02334, allocations: 4 kB / 347.5 MB, free: 8.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003502/0.02369, allocations: 147.8 kB / 347.6 MB, free: 8.125 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.000915/0.02461, allocations: 1.261 MB / 348.9 MB, free: 6.828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005715/0.02518, allocations: 0.5291 MB / 349.4 MB, free: 6.285 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02518, allocations: 0 / 349.4 MB, free: 6.285 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.02547, allocations: 359.1 kB / 349.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.02577, allocations: 82.41 kB / 349.9 MB, free: 5.844 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.02937, allocations: 3.986 MB / 353.8 MB, free: 1.656 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.02953, allocations: 228.8 kB / 354.1 MB, free: 1.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002376/0.02976, allocations: 35.36 kB / 354.1 MB, free: 1.371 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.02989, allocations: 152.4 kB / 354.2 MB, free: 1.223 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02989, allocations: 4 kB / 354.3 MB, free: 1.219 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.05632, allocations: 11.6 MB / 365.8 MB, free: 5.949 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/7.79, allocations: 11.86 kB / 365.9 MB, free: 5.938 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.4364567771554]