Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001873/0.001873, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002227/0.002227, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.53/1.53, allocations: 230.6 MB / 254.1 MB, free: 15.09 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+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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 52.06 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1107, allocations: 53.33 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.2491/0.3599, allocations: 4.772 MB / 431.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002967/0.3628, allocations: 1.378 MB / 432.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005767/0.3634, allocations: 35.59 kB / 432.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007266/0.3641, allocations: 229.5 kB / 432.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008975/0.365, allocations: 363.9 kB / 433.1 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.3655, allocations: 221 kB / 433.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.3669, allocations: 1.546 MB / 434.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008269/0.3677, allocations: 0.7223 MB / 435.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008542/0.3686, allocations: 0.6589 MB / 436.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.3696, allocations: 0.7849 MB / 437 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.3699, allocations: 164.9 kB / 437.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.3702, allocations: 173.6 kB / 437.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.3706, allocations: 448.8 kB / 437.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007343/0.3713, allocations: 0.7312 MB / 438.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002679/0.374, allocations: 2.111 MB / 440.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.374, allocations: 1.031 kB / 440.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.374, allocations: 0 / 440.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-05/0.3741, allocations: 0 / 440.6 MB, free: 4.852 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003793/0.3779, allocations: 1.684 MB / 442.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.3779, allocations: 10.36 kB / 442.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002211/0.3781, allocations: 159.4 kB / 442.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000573/0.3787, allocations: 172.9 kB / 442.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.3803, allocations: 0.9781 MB / 443.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/0.3803, allocations: 76.66 kB / 443.7 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.3805, allocations: 102.6 kB / 443.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.383, allocations: 1.439 MB / 445.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.383, allocations: 1.25 kB / 445.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.3831, allocations: 41.91 kB / 445.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.398e-05/0.3832, allocations: 42.36 kB / 445.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.3856, allocations: 1.296 MB / 446.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007006/0.3926, allocations: 4.316 MB / 450.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/0.3949, allocations: 1.887 MB / 452.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.3963, allocations: 0.6875 MB / 453.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.3963, allocations: 10.66 kB / 453.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.3973, allocations: 0.6039 MB / 454.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.224e-06/0.3973, allocations: 0 / 454.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.00787/0.4052, allocations: 2.802 MB / 456.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.4053, allocations: 120.6 kB / 457.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.4071, allocations: 0.8468 MB / 457.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.4072, allocations: 41.36 kB / 457.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006868/0.4079, allocations: 0.4916 MB / 458.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.4082, allocations: 252.3 kB / 458.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/0.4085, allocations: 137.6 kB / 458.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4087, allocations: 333.7 kB / 459.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007368/0.4094, allocations: 399.3 kB / 459.5 MB, free: 9.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008353/0.4103, allocations: 0.5459 MB / 460.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.4118, allocations: 0.912 MB / 461 MB, free: 8.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4118, allocations: 1.25 kB / 461 MB, free: 8.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002383/0.4142, allocations: 1.289 MB / 462.3 MB, free: 8.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4142, allocations: 6.188 kB / 462.3 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4142, allocations: 4.188 kB / 462.3 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.4154, allocations: 465.7 kB / 462.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.4158, allocations: 97.44 kB / 462.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008557/0.4243, allocations: 5.592 MB / 468.4 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009171/0.4252, allocations: 80.86 kB / 468.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.4254, allocations: 32.12 kB / 468.5 MB, free: 3.883 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (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_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.001103/0.4265, allocations: 469 kB / 469 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/0.4269, allocations: 91.53 kB / 469.1 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.4273, allocations: 112.4 kB / 469.2 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4273, allocations: 7.219 kB / 469.2 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.4273, allocations: 1.312 kB / 469.2 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.4273, allocations: 3.984 kB / 469.2 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005668/0.433, allocations: 2.587 MB / 471.8 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.433, allocations: 9.312 kB / 471.8 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.4333, allocations: 58.47 kB / 471.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/0.4345, allocations: 458.6 kB / 472.3 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.4346, allocations: 19.31 kB / 472.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008521/0.4431, allocations: 5.5 MB / 477.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4431, allocations: 0 / 477.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003651/0.4467, allocations: 1.896 MB / 479.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000779/0.4475, allocations: 276.3 kB / 480 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/0.4478, allocations: 23.98 kB / 480 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006496/0.4485, allocations: 39.95 kB / 480.1 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.4487, allocations: 72.55 kB / 480.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/0.4488, allocations: 23.94 kB / 480.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.45, allocations: 0.6005 MB / 480.7 MB, free: 8.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.45, allocations: 0 / 480.7 MB, free: 8.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001555/0.4516, allocations: 343.4 kB / 481.1 MB, free: 8.355 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00385/0.4554, allocations: 2.476 MB / 483.6 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00274/0.4582, allocations: 1.256 MB / 484.8 MB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4582, allocations: 3.938 kB / 484.8 MB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.4597, allocations: 0.793 MB / 485.6 MB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.4615, allocations: 277.8 kB / 485.9 MB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/0.4821, allocations: 9.839 MB / 495.7 MB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.4838, allocations: 1.329 MB / 497.1 MB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000634/0.4844, allocations: 147 kB / 497.2 MB, free: 7.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/0.4851, allocations: 387.3 kB / 497.6 MB, free: 7.578 MB / 398.1 MB Notification: Performance of SimCode: time 1.744e-06/0.4851, allocations: 0 / 497.6 MB, free: 7.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08097/0.5661, allocations: 29.57 MB / 0.5148 GB, free: 10.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.68, allocations: 7.641 kB / 0.5148 GB, free: 10.42 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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: 16.32681260514073]