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.001621/0.001621, allocations: 114 kB / 20.43 MB, free: 1.457 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.002032/0.002032, allocations: 215.3 kB / 23.74 MB, free: 4.672 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.001886/0.001886, allocations: 59.91 kB / 377.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2823, allocations: 53.41 MB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005476/0.2877, allocations: 3.788 MB / 435 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.2897, allocations: 1.002 MB / 436 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.2899, allocations: 11.94 kB / 436 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.2902, allocations: 79.22 kB / 436.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.2905, allocations: 150.7 kB / 436.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.291, allocations: 179.7 kB / 436.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007454/0.2917, allocations: 0.6265 MB / 437 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.292, allocations: 156 kB / 437.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004346/0.2925, allocations: 255 kB / 437.4 MB, free: 408 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/0.2929, allocations: 246.9 kB / 437.7 MB, free: 160 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.92e-05/0.2929, allocations: 56 kB / 437.7 MB, free: 104 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.2931, allocations: 60 kB / 437.8 MB, free: 44 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.2932, allocations: 123.6 kB / 437.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.2935, allocations: 278.5 kB / 438.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007907/0.2943, allocations: 0.6459 MB / 438.8 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2943, allocations: 0 / 438.8 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2943, allocations: 3.938 kB / 438.8 MB, free: 15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2943, allocations: 4 kB / 438.8 MB, free: 14.99 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.001618/0.2959, allocations: 0.8619 MB / 439.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.296, allocations: 12.03 kB / 439.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.2961, allocations: 78.72 kB / 439.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.2963, allocations: 68.59 kB / 439.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.2968, allocations: 311.2 kB / 440.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.2968, allocations: 33.38 kB / 440.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/0.2969, allocations: 48.12 kB / 440.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007446/0.2976, allocations: 465.5 kB / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.2976, allocations: 0 / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.2977, allocations: 16 kB / 440.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.2977, allocations: 12 kB / 440.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005952/0.2983, allocations: 323.7 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002484/0.3008, allocations: 1.802 MB / 442.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/0.3015, allocations: 352.6 kB / 443.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/0.302, allocations: 252.7 kB / 443.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.3021, allocations: 8.266 kB / 443.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004633/0.3025, allocations: 269.2 kB / 443.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.3025, allocations: 0 / 443.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002313/0.3048, allocations: 0.7748 MB / 444.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/0.3049, allocations: 85.11 kB / 444.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.3053, allocations: 332.4 kB / 444.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.3053, allocations: 33.7 kB / 444.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.3055, allocations: 220.7 kB / 445.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.3057, allocations: 146.8 kB / 445.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.3058, allocations: 86.14 kB / 445.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.306, allocations: 350.8 kB / 445.7 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.3062, allocations: 117 kB / 445.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.3066, allocations: 252.4 kB / 446.1 MB, free: 7.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/0.3072, allocations: 374.7 kB / 446.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.3072, allocations: 7.984 kB / 446.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00092/0.3081, allocations: 0.5051 MB / 446.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.3081, allocations: 8 kB / 446.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3082, allocations: 7.938 kB / 447 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004808/0.3086, allocations: 155.6 kB / 447.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.3089, allocations: 67.89 kB / 447.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.312, allocations: 2.44 MB / 449.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.3123, allocations: 39.73 kB / 449.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.3123, allocations: 20 kB / 449.7 MB, free: 3.645 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.0002502/0.3125, allocations: 181.8 kB / 449.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.3126, allocations: 43.7 kB / 449.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.3127, allocations: 48.41 kB / 449.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3127, allocations: 4 kB / 449.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3127, allocations: 4 kB / 449.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.3127, allocations: 3.984 kB / 450 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.3143, allocations: 0.9844 MB / 450.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3143, allocations: 3.938 kB / 450.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.3145, allocations: 36.02 kB / 451 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003941/0.3149, allocations: 144.9 kB / 451.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.3149, allocations: 7.984 kB / 451.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002941/0.3178, allocations: 2.456 MB / 453.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.3178, allocations: 0 / 453.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.319, allocations: 0.6996 MB / 454.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.3192, allocations: 83.53 kB / 454.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.3192, allocations: 8 kB / 454.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.3194, allocations: 15.98 kB / 454.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.3195, allocations: 35.88 kB / 454.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.3196, allocations: 19.98 kB / 454.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002529/0.3198, allocations: 223.1 kB / 454.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3198, allocations: 0 / 454.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005883/0.3204, allocations: 147.8 kB / 454.8 MB, free: 14.31 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.001517/0.3219, allocations: 1.269 MB / 456.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.323, allocations: 0.53 MB / 456.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.323, allocations: 0 / 456.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005512/0.3235, allocations: 366.2 kB / 457 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.324, allocations: 92.69 kB / 457 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005872/0.3299, allocations: 3.99 MB / 461 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.3305, allocations: 0.8317 MB / 461.9 MB, free: 6.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.3306, allocations: 43.3 kB / 461.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.3308, allocations: 143.4 kB / 462.1 MB, free: 6.77 MB / 366.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3308, allocations: 0 / 462.1 MB, free: 6.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05992/0.3908, allocations: 11.34 MB / 473.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.54, allocations: 11.66 kB / 473.4 MB, free: 11.65 MB / 382.1 MB " [Timeout remaining time 646] (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.96433175704442]