Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 183.1 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_0_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_0_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.001789/0.001789, allocations: 43.92 kB / 370.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2579, allocations: 52.19 MB / 422.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006541/0.2645, allocations: 4.777 MB / 427.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.2669, allocations: 1.309 MB / 428.7 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.2672, allocations: 35.75 kB / 428.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.2678, allocations: 230.4 kB / 429 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007952/0.2686, allocations: 362 kB / 429.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.2691, allocations: 215.6 kB / 429.6 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.2707, allocations: 1.533 MB / 431.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008166/0.2715, allocations: 0.5514 MB / 431.6 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007962/0.2723, allocations: 0.6581 MB / 432.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.2734, allocations: 0.79 MB / 433.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.2736, allocations: 164 kB / 433.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.2738, allocations: 167.9 kB / 433.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004013/0.2742, allocations: 442.7 kB / 433.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007788/0.275, allocations: 0.7234 MB / 434.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.2771, allocations: 2.099 MB / 436.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2772, allocations: 0 / 436.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2772, allocations: 0 / 436.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.2772, allocations: 0 / 436.7 MB, free: 0.5039 MB / 334.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.003362/0.2806, allocations: 1.881 MB / 438.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2806, allocations: 12.03 kB / 438.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002044/0.2808, allocations: 156.4 kB / 438.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.281, allocations: 144 kB / 438.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.2825, allocations: 0.8891 MB / 439.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.813e-05/0.2826, allocations: 74.38 kB / 439.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.2828, allocations: 103.9 kB / 439.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.2851, allocations: 1.439 MB / 441.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.2851, allocations: 7.938 kB / 441.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.2852, allocations: 40 kB / 441.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.497e-05/0.2853, allocations: 41.98 kB / 441.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.2875, allocations: 1.288 MB / 442.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006686/0.2942, allocations: 4.255 MB / 447 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.2958, allocations: 0.9958 MB / 448 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.2971, allocations: 0.6883 MB / 448.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.2971, allocations: 4.656 kB / 448.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009495/0.2981, allocations: 0.5976 MB / 449.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.265e-06/0.2981, allocations: 0 / 449.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007254/0.3053, allocations: 2.759 MB / 452 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/0.3054, allocations: 115.4 kB / 452.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.3066, allocations: 0.8246 MB / 453 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.3066, allocations: 41.7 kB / 453 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/0.3071, allocations: 496.7 kB / 453.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.3074, allocations: 253.9 kB / 453.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.3076, allocations: 134.6 kB / 453.9 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.3078, allocations: 394.8 kB / 454.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000653/0.3085, allocations: 393.7 kB / 454.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007988/0.3093, allocations: 0.5417 MB / 455.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.3107, allocations: 0.9132 MB / 456.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.3107, allocations: 3.938 kB / 456.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002235/0.3129, allocations: 1.293 MB / 457.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3129, allocations: 11.94 kB / 457.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.3129, allocations: 4.469 kB / 457.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.3141, allocations: 469.2 kB / 457.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.3144, allocations: 91.89 kB / 458 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007798/0.3222, allocations: 5.484 MB / 463.4 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/0.3228, allocations: 79.64 kB / 463.5 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/0.3229, allocations: 31.98 kB / 463.6 MB, free: 5.066 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_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) * 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.0007705/0.3237, allocations: 463.1 kB / 464 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.3238, allocations: 91.44 kB / 464.1 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.3241, allocations: 116.5 kB / 464.2 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.3241, allocations: 8 kB / 464.2 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3241, allocations: 4 kB / 464.2 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.3241, allocations: 3.984 kB / 464.2 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004351/0.3285, allocations: 2.559 MB / 466.8 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3285, allocations: 3.938 kB / 466.8 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.3288, allocations: 59.95 kB / 466.8 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.3298, allocations: 464.3 kB / 467.3 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/0.3298, allocations: 15.98 kB / 467.3 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007874/0.3377, allocations: 5.412 MB / 472.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3377, allocations: 3.938 kB / 472.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/0.3409, allocations: 1.901 MB / 474.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/0.3414, allocations: 203.3 kB / 474.8 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.3416, allocations: 16 kB / 474.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.342, allocations: 39.95 kB / 474.9 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.3422, allocations: 76.5 kB / 475 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.3423, allocations: 20 kB / 475 MB, free: 9.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008931/0.3432, allocations: 0.5926 MB / 475.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3432, allocations: 4 kB / 475.6 MB, free: 8.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001064/0.3442, allocations: 351.3 kB / 475.9 MB, free: 8.484 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.003493/0.3477, allocations: 2.476 MB / 478.4 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002425/0.3501, allocations: 1.24 MB / 479.6 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3501, allocations: 0 / 479.6 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.3516, allocations: 0.8013 MB / 480.4 MB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.3529, allocations: 274.8 kB / 480.7 MB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/0.3696, allocations: 9.767 MB / 490.5 MB, free: 9.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.371, allocations: 1.326 MB / 491.8 MB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004494/0.3715, allocations: 139.3 kB / 491.9 MB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005518/0.372, allocations: 387.2 kB / 492.3 MB, free: 7.777 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.372, allocations: 0 / 492.3 MB, free: 7.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/0.4745, allocations: 29.94 MB / 0.51 GB, free: 10.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.32, allocations: 7.375 kB / 0.51 GB, free: 10.18 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.908644954906777]