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.001349/0.001349, allocations: 116.4 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.001585/0.001585, allocations: 214.9 kB / 23.75 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.002114/0.002114, allocations: 63.89 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3298, allocations: 53.41 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007935/0.3378, allocations: 4.813 MB / 436 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003765/0.3415, allocations: 1.379 MB / 437.4 MB, free: 460 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.3425, allocations: 35.75 kB / 437.4 MB, free: 424 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3437, allocations: 226.4 kB / 437.7 MB, free: 196 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.3453, allocations: 378 kB / 438 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008142/0.3461, allocations: 235.6 kB / 438.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002465/0.3486, allocations: 1.561 MB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.3497, allocations: 0.5592 MB / 440.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.3511, allocations: 0.6775 MB / 441 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.3527, allocations: 0.7861 MB / 441.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004793/0.3532, allocations: 164 kB / 442 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006043/0.3538, allocations: 168 kB / 442.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006684/0.3545, allocations: 446.7 kB / 442.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.3556, allocations: 0.7311 MB / 443.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.3581, allocations: 2.103 MB / 445.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3581, allocations: 0 / 445.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3581, allocations: 0 / 445.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.581e-05/0.3581, allocations: 4 kB / 445.4 MB, free: 8.359 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.004004/0.3621, allocations: 1.904 MB / 447.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.3622, allocations: 12.02 kB / 447.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000207/0.3624, allocations: 164.4 kB / 447.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005378/0.3629, allocations: 172 kB / 447.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.3647, allocations: 0.9086 MB / 448.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.3648, allocations: 74.38 kB / 448.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.3649, allocations: 103.9 kB / 448.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.3675, allocations: 1.439 MB / 450.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.3675, allocations: 0 / 450.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.3676, allocations: 43.98 kB / 450.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.615e-05/0.3677, allocations: 42 kB / 450.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.37, allocations: 1.296 MB / 451.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007212/0.3772, allocations: 4.263 MB / 455.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.379, allocations: 1.002 MB / 456.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.3802, allocations: 0.6767 MB / 457.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.185e-05/0.3803, allocations: 8.656 kB / 457.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.3813, allocations: 0.6053 MB / 458.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 3.086e-06/0.3813, allocations: 0 / 458.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007339/0.3887, allocations: 2.743 MB / 460.9 MB, free: 8.676 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.926e-05/0.3888, allocations: 119.5 kB / 461 MB, free: 8.535 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.39, allocations: 0.8403 MB / 461.8 MB, free: 7.684 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.412e-05/0.3901, allocations: 49.69 kB / 461.9 MB, free: 7.629 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.3906, allocations: 0.4929 MB / 462.4 MB, free: 7.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.3908, allocations: 253.9 kB / 462.6 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.391, allocations: 138.6 kB / 462.8 MB, free: 6.738 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3912, allocations: 334 kB / 463.1 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006273/0.3918, allocations: 389.7 kB / 463.5 MB, free: 6.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007725/0.3926, allocations: 0.5521 MB / 464 MB, free: 5.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.3939, allocations: 0.921 MB / 464.9 MB, free: 4.445 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.394, allocations: 4 kB / 464.9 MB, free: 4.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002283/0.3962, allocations: 1.29 MB / 466.2 MB, free: 3.141 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.3963, allocations: 8 kB / 466.2 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3963, allocations: 4 kB / 466.2 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.3974, allocations: 464.4 kB / 466.7 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.3977, allocations: 95.83 kB / 466.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007452/0.4052, allocations: 5.477 MB / 472.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/0.4058, allocations: 87.58 kB / 472.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.4058, allocations: 31.98 kB / 472.4 MB, free: 12.87 MB / 382.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.000779/0.4066, allocations: 474.7 kB / 472.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.4068, allocations: 95.39 kB / 472.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.407, allocations: 116.7 kB / 473.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.407, allocations: 8 kB / 473.1 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.407, allocations: 3.938 kB / 473.1 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.407, allocations: 3.984 kB / 473.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004246/0.4113, allocations: 2.559 MB / 475.6 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4113, allocations: 0 / 475.6 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.4115, allocations: 63.91 kB / 475.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009541/0.4125, allocations: 460.3 kB / 476.1 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.4125, allocations: 20.11 kB / 476.2 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007167/0.4197, allocations: 5.422 MB / 481.6 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4197, allocations: 3.938 kB / 481.6 MB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/0.4227, allocations: 1.909 MB / 483.5 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005258/0.4233, allocations: 199.3 kB / 483.7 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.4234, allocations: 12 kB / 483.7 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.4238, allocations: 47.95 kB / 483.8 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.424, allocations: 80.5 kB / 483.8 MB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.424, allocations: 16 kB / 483.8 MB, free: 1.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008264/0.4248, allocations: 0.6044 MB / 484.4 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4248, allocations: 0 / 484.4 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009847/0.4258, allocations: 347.2 kB / 484.8 MB, free: 260 kB / 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.003208/0.429, allocations: 2.467 MB / 487.3 MB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.4313, allocations: 1.252 MB / 488.5 MB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4313, allocations: 7.969 kB / 488.5 MB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.4326, allocations: 0.7851 MB / 489.3 MB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.4338, allocations: 301.3 kB / 489.6 MB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.4494, allocations: 9.84 MB / 499.4 MB, free: 1.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.4505, allocations: 1.329 MB / 0.489 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004199/0.4509, allocations: 151.4 kB / 0.4892 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/0.4514, allocations: 387.3 kB / 0.4895 GB, free: 15.44 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4514, allocations: 0 / 0.4895 GB, free: 15.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07468/0.5261, allocations: 30.19 MB / 0.519 GB, free: 1.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.52, allocations: 10.3 kB / 0.519 GB, free: 1.512 MB / 430.1 MB " [Timeout remaining time 645] (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/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_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: 17.08931029611267]