Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 213 kB / 23.72 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2389, allocations: 53.37 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005051/0.2439, allocations: 3.44 MB / 434.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.2459, allocations: 1.04 MB / 435.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.2462, allocations: 23.81 kB / 435.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.2464, allocations: 111.1 kB / 435.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007164/0.2472, allocations: 238.7 kB / 436 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.2475, allocations: 163.7 kB / 436.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.2485, allocations: 0.9728 MB / 437.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005148/0.249, allocations: 347.5 kB / 437.4 MB, free: 304 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.2495, allocations: 438.5 kB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006812/0.2502, allocations: 0.4981 MB / 438.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.2503, allocations: 100 kB / 438.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.2505, allocations: 104 kB / 438.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.2508, allocations: 287.2 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.2512, allocations: 390.2 kB / 439.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.2525, allocations: 1.306 MB / 440.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2525, allocations: 4 kB / 440.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2525, allocations: 0 / 440.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.2525, allocations: 0 / 440.5 MB, free: 13.19 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002243/0.2547, allocations: 1.33 MB / 441.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2548, allocations: 8.031 kB / 441.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.2549, allocations: 114.7 kB / 442 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.2553, allocations: 128.2 kB / 442.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.2564, allocations: 0.6045 MB / 442.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.2564, allocations: 49.31 kB / 442.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.2565, allocations: 64 kB / 442.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.258, allocations: 0.9518 MB / 443.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.258, allocations: 7.953 kB / 443.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.2581, allocations: 27.94 kB / 443.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/0.2581, allocations: 33.3 kB / 443.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.2595, allocations: 0.7897 MB / 444.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004007/0.2635, allocations: 2.522 MB / 447.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008139/0.2643, allocations: 484.9 kB / 447.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/0.2649, allocations: 317.2 kB / 447.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.2649, allocations: 4.328 kB / 447.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006484/0.2655, allocations: 411.6 kB / 448.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/0.2655, allocations: 0 / 448.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002744/0.2683, allocations: 1.119 MB / 449.5 MB, free: 4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/0.2684, allocations: 110.6 kB / 449.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.2691, allocations: 0.584 MB / 450.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.2692, allocations: 33.7 kB / 450.2 MB, free: 3.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.2695, allocations: 372.6 kB / 450.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.2697, allocations: 150.8 kB / 450.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.2698, allocations: 90.14 kB / 450.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.27, allocations: 366.7 kB / 451.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.2704, allocations: 220.8 kB / 451.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.2709, allocations: 386.7 kB / 451.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008675/0.2718, allocations: 0.5699 MB / 452.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.2718, allocations: 4 kB / 452.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001388/0.2732, allocations: 0.7478 MB / 453.1 MB, free: 216 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2732, allocations: 8 kB / 453.1 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2732, allocations: 4 kB / 453.1 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005475/0.2738, allocations: 204.7 kB / 453.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.2741, allocations: 79.78 kB / 453.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/0.2774, allocations: 2.797 MB / 456.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.2778, allocations: 63.64 kB / 456.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.2779, allocations: 20 kB / 456.2 MB, free: 12.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004714/0.2783, allocations: 329.5 kB / 456.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.515e-05/0.2784, allocations: 63.61 kB / 456.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.2786, allocations: 65.44 kB / 456.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2786, allocations: 7.938 kB / 456.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2786, allocations: 0 / 456.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2786, allocations: 3.984 kB / 456.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.281, allocations: 1.529 MB / 458.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.281, allocations: 3.984 kB / 458.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.2812, allocations: 43.97 kB / 458.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004382/0.2817, allocations: 203.7 kB / 458.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.2817, allocations: 15.98 kB / 458.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003303/0.285, allocations: 2.782 MB / 461.3 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.285, allocations: 7.984 kB / 461.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.2869, allocations: 1.1 MB / 462.4 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000335/0.2872, allocations: 119.6 kB / 462.5 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.2873, allocations: 12 kB / 462.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.2876, allocations: 23.97 kB / 462.5 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.2877, allocations: 63.56 kB / 462.6 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.2878, allocations: 12 kB / 462.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005447/0.2883, allocations: 430.8 kB / 463 MB, free: 5.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2883, allocations: 0 / 463 MB, free: 5.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007681/0.2891, allocations: 211.5 kB / 463.2 MB, free: 5.719 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002109/0.2912, allocations: 1.659 MB / 464.9 MB, free: 4.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.2925, allocations: 0.7063 MB / 465.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2926, allocations: 4.062 kB / 465.6 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007128/0.2933, allocations: 462.1 kB / 466 MB, free: 2.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007568/0.294, allocations: 146.1 kB / 466.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009241/0.3033, allocations: 6.516 MB / 472.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.3038, allocations: 498 kB / 473.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002732/0.3041, allocations: 96.78 kB / 473.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.3044, allocations: 251.3 kB / 473.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3044, allocations: 4 kB / 473.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0614/0.3658, allocations: 17.48 MB / 491 MB, free: 9.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.71, allocations: 14.42 kB / 491 MB, free: 9.98 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.187445101997582]