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.001309/0.001309, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.0018/0.0018, allocations: 206.4 kB / 23.73 MB, free: 4.414 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.446/1.446, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.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 0.002184/0.002184, allocations: 63.89 kB / 377.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3016, allocations: 53.41 MB / 431.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00532/0.3069, allocations: 3.443 MB / 434.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.3088, allocations: 0.9661 MB / 435.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.309, allocations: 11.94 kB / 435.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.3092, allocations: 83.22 kB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.3095, allocations: 146.7 kB / 435.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.3099, allocations: 183.7 kB / 436 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006389/0.3106, allocations: 0.6264 MB / 436.6 MB, free: 1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.3108, allocations: 144.6 kB / 436.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.3112, allocations: 243.1 kB / 437 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.3115, allocations: 218.9 kB / 437.2 MB, free: 408 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.749e-05/0.3116, allocations: 56 kB / 437.3 MB, free: 352 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.3117, allocations: 67.94 kB / 437.3 MB, free: 284 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.3118, allocations: 119.6 kB / 437.4 MB, free: 164 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.3121, allocations: 223 kB / 437.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000703/0.3128, allocations: 0.6536 MB / 438.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3128, allocations: 0 / 438.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3128, allocations: 0 / 438.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3128, allocations: 0 / 438.3 MB, free: 15.29 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001513/0.3143, allocations: 0.8619 MB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.3143, allocations: 11.98 kB / 439.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.611e-05/0.3144, allocations: 78.72 kB / 439.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.3147, allocations: 68.59 kB / 439.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.3152, allocations: 319.2 kB / 439.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.3152, allocations: 41.38 kB / 439.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/0.3153, allocations: 52.05 kB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/0.3161, allocations: 487.3 kB / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3161, allocations: 0 / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.3162, allocations: 16 kB / 440.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3162, allocations: 8 kB / 440.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006173/0.3168, allocations: 327.7 kB / 440.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.3193, allocations: 1.688 MB / 442.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.32, allocations: 348.6 kB / 442.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005961/0.3206, allocations: 248.9 kB / 442.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.3206, allocations: 8.328 kB / 442.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004817/0.3211, allocations: 298.9 kB / 443.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.913e-06/0.3211, allocations: 0 / 443.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002409/0.3235, allocations: 0.7709 MB / 443.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.3236, allocations: 81.11 kB / 444 MB, free: 9.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.324, allocations: 336.4 kB / 444.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.324, allocations: 37.7 kB / 444.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.3242, allocations: 224.7 kB / 444.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.3244, allocations: 142.8 kB / 444.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.3245, allocations: 86.14 kB / 444.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3247, allocations: 346.8 kB / 445.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.3249, allocations: 121 kB / 445.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.3253, allocations: 278 kB / 445.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005911/0.3259, allocations: 382.8 kB / 445.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3259, allocations: 0 / 445.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009292/0.3268, allocations: 0.5056 MB / 446.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3268, allocations: 4 kB / 446.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3268, allocations: 7.938 kB / 446.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004648/0.3273, allocations: 152.6 kB / 446.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.3275, allocations: 63.91 kB / 446.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.3306, allocations: 2.405 MB / 449 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.3309, allocations: 47.77 kB / 449.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.3309, allocations: 20 kB / 449.1 MB, free: 3.984 MB / 350.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: 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.000248/0.3312, allocations: 177.8 kB / 449.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.3312, allocations: 47.66 kB / 449.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.909e-05/0.3313, allocations: 44.55 kB / 449.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3313, allocations: 7.984 kB / 449.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3314, allocations: 4 kB / 449.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3314, allocations: 7.984 kB / 449.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.3329, allocations: 0.9338 MB / 450.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3329, allocations: 0 / 450.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.3331, allocations: 31.98 kB / 450.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000404/0.3335, allocations: 143.1 kB / 450.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.3335, allocations: 12 kB / 450.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002885/0.3364, allocations: 2.41 MB / 452.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3364, allocations: 4 kB / 452.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.3375, allocations: 0.6959 MB / 453.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.3377, allocations: 83.52 kB / 453.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.3377, allocations: 12 kB / 453.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.338, allocations: 11.98 kB / 453.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-05/0.3381, allocations: 43.86 kB / 453.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.3381, allocations: 12 kB / 453.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002617/0.3383, allocations: 227.1 kB / 454 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3383, allocations: 4 kB / 454 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005875/0.3389, allocations: 143.8 kB / 454.1 MB, free: 14.74 MB / 366.1 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.001513/0.3404, allocations: 1.273 MB / 455.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.3415, allocations: 0.5295 MB / 455.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3415, allocations: 0 / 455.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005964/0.3421, allocations: 371.1 kB / 456.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.3426, allocations: 81.33 kB / 456.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005862/0.3485, allocations: 3.982 MB / 460.3 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.3488, allocations: 236.8 kB / 460.6 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.349, allocations: 39.34 kB / 460.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.3492, allocations: 143.4 kB / 460.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3492, allocations: 4 kB / 460.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04917/0.3983, allocations: 11.45 MB / 472.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.04, allocations: 15.94 kB / 472.2 MB, free: 12.59 MB / 382.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/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: 15.464454069267958]