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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.84 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2613, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005805/0.2672, allocations: 4.604 MB / 413.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.2699, allocations: 1.306 MB / 414.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003447/0.2703, allocations: 23.88 kB / 414.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.2706, allocations: 166.6 kB / 414.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008757/0.2716, allocations: 350 kB / 415.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.272, allocations: 215.6 kB / 415.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.2734, allocations: 1.623 MB / 417 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.2751, allocations: 1.106 MB / 418.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.2763, allocations: 0.6969 MB / 418.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.278, allocations: 0.8561 MB / 419.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003319/0.2783, allocations: 176 kB / 419.9 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004322/0.2788, allocations: 180 kB / 420 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005736/0.2794, allocations: 478.7 kB / 420.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.2806, allocations: 0.7971 MB / 421.3 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003007/0.2836, allocations: 2.274 MB / 423.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2836, allocations: 0 / 423.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.2836, allocations: 4 kB / 423.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.078e-05/0.2837, allocations: 3.938 kB / 423.6 MB, free: 2.613 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004861/0.2885, allocations: 1.787 MB / 425.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.2886, allocations: 8.031 kB / 425.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002692/0.2889, allocations: 168.8 kB / 425.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.29, allocations: 207.1 kB / 425.8 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/0.2923, allocations: 1.028 MB / 426.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.444e-05/0.2924, allocations: 78.44 kB / 426.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.2927, allocations: 111.8 kB / 427 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003854/0.2966, allocations: 1.561 MB / 428.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-05/0.2966, allocations: 0 / 428.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.2968, allocations: 44 kB / 428.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.531e-05/0.2969, allocations: 41.98 kB / 428.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004416/0.3013, allocations: 1.437 MB / 430.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/0.3144, allocations: 4.898 MB / 434.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.3174, allocations: 1.446 MB / 436.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002382/0.3199, allocations: 0.739 MB / 437.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.084e-05/0.32, allocations: 12.5 kB / 437.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001953/0.3219, allocations: 0.6083 MB / 437.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 6.682e-06/0.322, allocations: 4 kB / 437.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.01071/0.3327, allocations: 2.439 MB / 440.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.3329, allocations: 89.77 kB / 440.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.3354, allocations: 0.9658 MB / 441.3 MB, free: 416 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.3355, allocations: 37.7 kB / 441.3 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007685/0.3363, allocations: 0.535 MB / 441.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.3367, allocations: 232.6 kB / 442.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003902/0.3371, allocations: 138.6 kB / 442.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3373, allocations: 330 kB / 442.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.3386, allocations: 413.7 kB / 442.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.3401, allocations: 0.5563 MB / 443.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/0.3429, allocations: 0.9503 MB / 444.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.343, allocations: 4 kB / 444.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004106/0.3471, allocations: 1.292 MB / 445.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.3471, allocations: 4 kB / 445.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.3472, allocations: 4 kB / 445.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/0.3489, allocations: 411.2 kB / 446.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.3497, allocations: 111.8 kB / 446.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009487/0.3592, allocations: 4.497 MB / 450.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.3604, allocations: 75.55 kB / 450.8 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.3606, allocations: 28 kB / 450.8 MB, free: 6.531 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_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: 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.001469/0.3621, allocations: 0.499 MB / 451.3 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.3625, allocations: 98.78 kB / 451.4 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.3629, allocations: 120.8 kB / 451.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.363, allocations: 12 kB / 451.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.363, allocations: 0 / 451.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.363, allocations: 0 / 451.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006618/0.3696, allocations: 2.595 MB / 454.2 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.3697, allocations: 0 / 454.2 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005933/0.3703, allocations: 83.88 kB / 454.2 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.3713, allocations: 400.6 kB / 454.6 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/0.3714, allocations: 11.98 kB / 454.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005427/0.3769, allocations: 4.475 MB / 459.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3769, allocations: 3.938 kB / 459.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00299/0.3799, allocations: 1.959 MB / 461.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007167/0.3806, allocations: 287.7 kB / 461.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.3809, allocations: 19.98 kB / 461.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005964/0.3815, allocations: 39.95 kB / 461.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.3817, allocations: 76.55 kB / 461.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.693e-05/0.3818, allocations: 28.02 kB / 461.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.383, allocations: 0.6903 MB / 462.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.383, allocations: 0 / 462.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001136/0.3841, allocations: 342.9 kB / 462.5 MB, free: 10.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.003346/0.3875, allocations: 2.542 MB / 465.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002187/0.3897, allocations: 1.272 MB / 466.4 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3897, allocations: 3.938 kB / 466.4 MB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.391, allocations: 0.815 MB / 467.2 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.3924, allocations: 251.1 kB / 467.4 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/0.409, allocations: 10.86 MB / 478.3 MB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.4102, allocations: 1.392 MB / 479.7 MB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004821/0.4107, allocations: 167.4 kB / 479.8 MB, free: 8.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/0.4112, allocations: 431.3 kB / 480.3 MB, free: 8.512 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4112, allocations: 0 / 480.3 MB, free: 8.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06199/0.4732, allocations: 29.33 MB / 0.4976 GB, free: 11.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/17.03, allocations: 12.19 kB / 0.4977 GB, free: 11.54 MB / 430.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches