Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.0009365/0.0009365, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008871/0.0008871, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9436/0.9436, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.159e-05, allocations: 2.844 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004142/0.004164, allocations: 4.197 MB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.006371, allocations: 1.27 MB / 330 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004179/0.006789, allocations: 39.75 kB / 330 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.007108, allocations: 178.5 kB / 330.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008447/0.007953, allocations: 381.5 kB / 330.6 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.008353, allocations: 223.5 kB / 330.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.009634, allocations: 1.688 MB / 332.5 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006604/0.01029, allocations: 0.5677 MB / 333.1 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.01152, allocations: 1.025 MB / 334.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.01254, allocations: 0.7911 MB / 334.9 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.01277, allocations: 176 kB / 335.1 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.013, allocations: 187.9 kB / 335.2 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002924/0.01329, allocations: 0.4907 MB / 335.7 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006345/0.01393, allocations: 0.5456 MB / 336.3 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.01574, allocations: 2.322 MB / 338.6 MB, free: 1.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.01574, allocations: 0 / 338.6 MB, free: 1.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.01574, allocations: 0 / 338.6 MB, free: 1.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.046e-05/0.0158, allocations: 0 / 338.6 MB, free: 1.75 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003087/0.01889, allocations: 2.045 MB / 340.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.01894, allocations: 15.98 kB / 340.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.01911, allocations: 168.8 kB / 340.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004715/0.01958, allocations: 215.9 kB / 341 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.02078, allocations: 0.978 MB / 342 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.02082, allocations: 74.44 kB / 342.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.02094, allocations: 104.4 kB / 342.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.02281, allocations: 1.586 MB / 343.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.02284, allocations: 0 / 343.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.027e-05/0.02292, allocations: 48 kB / 343.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.346e-05/0.02297, allocations: 46.03 kB / 343.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.02474, allocations: 1.429 MB / 345.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004777/0.02952, allocations: 4.47 MB / 349.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.03052, allocations: 0.9495 MB / 350.7 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007971/0.03132, allocations: 0.6848 MB / 351.4 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.03136, allocations: 8.656 kB / 351.4 MB, free: 4.586 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007039/0.03206, allocations: 0.6375 MB / 352 MB, free: 3.926 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 1.953e-06/0.03207, allocations: 0 / 352 MB, free: 3.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.003687/0.03575, allocations: 2.352 MB / 354.4 MB, free: 1.559 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.03582, allocations: 85.77 kB / 354.5 MB, free: 1.457 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009426/0.03676, allocations: 0.9619 MB / 355.4 MB, free: 500 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.03681, allocations: 49.69 kB / 355.5 MB, free: 444 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/0.03718, allocations: 0.5476 MB / 356 MB, free: 15.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.03733, allocations: 245.9 kB / 356.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.03748, allocations: 130.7 kB / 356.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.03757, allocations: 330 kB / 356.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.03803, allocations: 417.7 kB / 357.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.03856, allocations: 0.5737 MB / 357.7 MB, free: 14.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009666/0.03953, allocations: 0.9444 MB / 358.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.03954, allocations: 4 kB / 358.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001451/0.04099, allocations: 1.287 MB / 359.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.04101, allocations: 12.03 kB / 360 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.04102, allocations: 4 kB / 360 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/0.04161, allocations: 391.1 kB / 360.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.0419, allocations: 111.8 kB / 360.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003854/0.04575, allocations: 4.36 MB / 364.8 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.04628, allocations: 79.64 kB / 364.9 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.04632, allocations: 28 kB / 364.9 MB, free: 6.738 MB / 330.7 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 (59): * Single equations (assignments): 58 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.000703/0.04702, allocations: 0.4916 MB / 365.4 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.04714, allocations: 103.3 kB / 365.5 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.04727, allocations: 120.8 kB / 365.6 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.04728, allocations: 8 kB / 365.6 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.04728, allocations: 0 / 365.6 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.04729, allocations: 7.922 kB / 365.6 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.04988, allocations: 2.415 MB / 368.1 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.04988, allocations: 4 kB / 368.1 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.05011, allocations: 83.88 kB / 368.1 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004993/0.05061, allocations: 388.5 kB / 368.5 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.05065, allocations: 12.12 kB / 368.5 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/0.05429, allocations: 4.336 MB / 372.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.05429, allocations: 0 / 372.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.05632, allocations: 1.948 MB / 374.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/0.05672, allocations: 219.2 kB / 375 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.209e-05/0.05679, allocations: 16 kB / 375 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.05704, allocations: 39.95 kB / 375.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.05721, allocations: 80.5 kB / 375.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.05724, allocations: 16 kB / 375.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006889/0.05793, allocations: 0.6981 MB / 375.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05793, allocations: 0 / 375.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008406/0.05877, allocations: 351.2 kB / 376.2 MB, free: 11.23 MB / 346.7 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 (45): * Single equations (assignments): 41 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002153/0.06092, allocations: 2.529 MB / 378.8 MB, free: 8.672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.06248, allocations: 1.241 MB / 380 MB, free: 7.414 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.06248, allocations: 3.938 kB / 380 MB, free: 7.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007619/0.06325, allocations: 0.7727 MB / 380.8 MB, free: 6.625 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/0.06398, allocations: 262.9 kB / 381 MB, free: 6.367 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.07596, allocations: 10.93 MB / 392 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/0.07656, allocations: 0.8064 MB / 392.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003617/0.07692, allocations: 171.4 kB / 392.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003796/0.0773, allocations: 428.3 kB / 393.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/0.0773, allocations: 0 / 393.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/0.1239, allocations: 29.72 MB / 423.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.33/8.454, allocations: 11.94 kB / 423.1 MB, free: 12.36 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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: 10.30460824072361]