Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001704/0.001704, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.001982/0.001982, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.462/1.462, allocations: 230.2 MB / 254.5 MB, free: 15.26 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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 75.88 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1154, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006934/0.1224, allocations: 4.785 MB / 431.5 MB, free: 184 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.212/0.3344, allocations: 1.366 MB / 432.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003836/0.3347, allocations: 30.62 kB / 432.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006258/0.3354, allocations: 220.5 kB / 433.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007371/0.3361, allocations: 362.8 kB / 433.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.3365, allocations: 224.9 kB / 433.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.3377, allocations: 1.563 MB / 435.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008115/0.3386, allocations: 0.7168 MB / 435.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007425/0.3393, allocations: 0.6615 MB / 436.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008971/0.3402, allocations: 0.7838 MB / 437.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.3404, allocations: 165.5 kB / 437.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.3407, allocations: 171.4 kB / 437.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.3411, allocations: 450.6 kB / 438.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006243/0.3417, allocations: 0.7332 MB / 438.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.344, allocations: 2.106 MB / 441 MB, free: 4.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.344, allocations: 1.219 kB / 441 MB, free: 4.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.344, allocations: 0 / 441 MB, free: 4.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.733e-05/0.344, allocations: 1.734 kB / 441 MB, free: 4.992 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.003349/0.3474, allocations: 1.689 MB / 442.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3474, allocations: 9.312 kB / 442.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.3476, allocations: 159.7 kB / 442.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005101/0.3481, allocations: 176.5 kB / 443 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.3498, allocations: 0.973 MB / 444 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.811e-05/0.3499, allocations: 75.23 kB / 444.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.35, allocations: 106.4 kB / 444.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.3524, allocations: 1.438 MB / 445.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.3524, allocations: 4.5 kB / 445.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.516e-05/0.3525, allocations: 45.81 kB / 445.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/0.3526, allocations: 42.56 kB / 445.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.3546, allocations: 1.299 MB / 447 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006544/0.3612, allocations: 4.312 MB / 451.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.3632, allocations: 1.888 MB / 453.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.3645, allocations: 0.6844 MB / 453.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.3645, allocations: 12.28 kB / 453.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009787/0.3655, allocations: 0.598 MB / 454.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.214e-06/0.3655, allocations: 0 / 454.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007209/0.3727, allocations: 2.803 MB / 457.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.3728, allocations: 124.9 kB / 457.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.3741, allocations: 0.8419 MB / 458.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.097e-05/0.3741, allocations: 41.27 kB / 458.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.3746, allocations: 0.4911 MB / 458.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.3748, allocations: 258.6 kB / 459 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.3751, allocations: 138.5 kB / 459.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3753, allocations: 333 kB / 459.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006307/0.3759, allocations: 395.9 kB / 459.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/0.3767, allocations: 0.549 MB / 460.4 MB, free: 9.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.3781, allocations: 0.9095 MB / 461.3 MB, free: 9.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3781, allocations: 1.062 kB / 461.3 MB, free: 9.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002234/0.3803, allocations: 1.294 MB / 462.6 MB, free: 8.379 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3803, allocations: 10.47 kB / 462.6 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.3803, allocations: 4.938 kB / 462.7 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.3814, allocations: 465.9 kB / 463.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.3818, allocations: 97.06 kB / 463.2 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007689/0.3895, allocations: 5.588 MB / 468.8 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000828/0.3903, allocations: 80.14 kB / 468.9 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.3904, allocations: 29.16 kB / 468.9 MB, free: 4.043 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.001019/0.3914, allocations: 466.5 kB / 469.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.3917, allocations: 90.53 kB / 469.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.392, allocations: 118.4 kB / 469.6 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.3921, allocations: 12.05 kB / 469.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.3921, allocations: 0 / 469.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.3921, allocations: 7.922 kB / 469.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005327/0.3974, allocations: 2.581 MB / 472.2 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.3974, allocations: 1.312 kB / 472.2 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.3977, allocations: 59.16 kB / 472.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.3988, allocations: 459.4 kB / 472.7 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/0.3988, allocations: 23.31 kB / 472.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007887/0.4067, allocations: 5.502 MB / 478.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.4067, allocations: 4 kB / 478.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/0.4101, allocations: 1.897 MB / 480.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007634/0.4109, allocations: 280.3 kB / 480.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/0.4112, allocations: 15.98 kB / 480.4 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.4117, allocations: 43.95 kB / 480.4 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.4119, allocations: 68.55 kB / 480.5 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.4119, allocations: 24 kB / 480.5 MB, free: 9.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001014/0.4129, allocations: 0.6044 MB / 481.1 MB, free: 8.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4129, allocations: 0 / 481.1 MB, free: 8.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00135/0.4143, allocations: 339.4 kB / 481.5 MB, free: 8.535 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.003574/0.4179, allocations: 2.48 MB / 483.9 MB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002601/0.4205, allocations: 1.244 MB / 485.2 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.4205, allocations: 0 / 485.2 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.4219, allocations: 0.795 MB / 486 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.4237, allocations: 285.5 kB / 486.2 MB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/0.4417, allocations: 9.84 MB / 496.1 MB, free: 9.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.443, allocations: 1.329 MB / 497.4 MB, free: 8.277 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004603/0.4435, allocations: 144.4 kB / 497.6 MB, free: 8.137 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/0.444, allocations: 391.3 kB / 497.9 MB, free: 7.754 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4441, allocations: 0 / 497.9 MB, free: 7.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07472/0.5188, allocations: 29.56 MB / 0.5151 GB, free: 10.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.7, allocations: 8.5 kB / 0.5151 GB, free: 10.52 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.34929618285969]