Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.001671/0.001671, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002101/0.002101, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 55.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2474, allocations: 53.37 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004764/0.2522, allocations: 3.219 MB / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.2538, allocations: 0.888 MB / 435.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.254, allocations: 11.94 kB / 435.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.2542, allocations: 67.3 kB / 435.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.2545, allocations: 134.8 kB / 435.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.2549, allocations: 163.7 kB / 435.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005741/0.2554, allocations: 0.5175 MB / 436.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.2557, allocations: 126.3 kB / 436.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.256, allocations: 215.2 kB / 436.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.2564, allocations: 222.9 kB / 436.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.649e-05/0.2564, allocations: 48 kB / 436.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.897e-05/0.2565, allocations: 48 kB / 436.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.2567, allocations: 99.62 kB / 436.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.2569, allocations: 199 kB / 437 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006441/0.2575, allocations: 0.5447 MB / 437.6 MB, free: 124 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2575, allocations: 0 / 437.6 MB, free: 124 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2575, allocations: 3.938 kB / 437.6 MB, free: 120 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.2575, allocations: 0 / 437.6 MB, free: 120 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001461/0.259, allocations: 0.7881 MB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.259, allocations: 8.031 kB / 438.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.501e-05/0.2591, allocations: 74.7 kB / 438.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002738/0.2594, allocations: 76.59 kB / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.2599, allocations: 291.3 kB / 438.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.2599, allocations: 29.38 kB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.26, allocations: 40.38 kB / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.2607, allocations: 421.5 kB / 439.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.2607, allocations: 3.984 kB / 439.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.2608, allocations: 19.94 kB / 439.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.2608, allocations: 12 kB / 439.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000537/0.2613, allocations: 259.8 kB / 439.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.2635, allocations: 1.36 MB / 440.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.2639, allocations: 227.4 kB / 441.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.2643, allocations: 149.2 kB / 441.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.2643, allocations: 8.234 kB / 441.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004245/0.2647, allocations: 251.6 kB / 441.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.2647, allocations: 0 / 441.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001481/0.2662, allocations: 0.4949 MB / 442.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/0.2663, allocations: 114.7 kB / 442.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.2667, allocations: 308.5 kB / 442.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.2667, allocations: 33.7 kB / 442.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.2669, allocations: 232.6 kB / 442.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.267, allocations: 107.2 kB / 442.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.2671, allocations: 66.08 kB / 442.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2673, allocations: 342.8 kB / 443.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.2675, allocations: 96.7 kB / 443.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.2678, allocations: 251.2 kB / 443.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.2683, allocations: 332.7 kB / 443.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2683, allocations: 0 / 443.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007524/0.269, allocations: 413.7 kB / 444.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2691, allocations: 4 kB / 444.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2691, allocations: 4 kB / 444.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/0.2694, allocations: 88.8 kB / 444.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.2696, allocations: 55.91 kB / 444.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.2717, allocations: 1.887 MB / 446.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.2719, allocations: 39.77 kB / 446.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.272, allocations: 16 kB / 446.4 MB, free: 6.766 MB / 350.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: 11 (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.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002008/0.2722, allocations: 170.2 kB / 446.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.2722, allocations: 39.7 kB / 446.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.906e-05/0.2723, allocations: 39.95 kB / 446.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2723, allocations: 12 kB / 446.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2723, allocations: 0 / 446.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2723, allocations: 4 kB / 446.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.273, allocations: 0.5021 MB / 447.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.273, allocations: 0 / 447.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.2732, allocations: 39.91 kB / 447.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/0.2734, allocations: 72.81 kB / 447.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.2734, allocations: 11.98 kB / 447.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.2754, allocations: 1.867 MB / 449.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2754, allocations: 4.312 kB / 449.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00097/0.2764, allocations: 0.5145 MB / 449.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.2765, allocations: 59.69 kB / 449.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.2766, allocations: 11.94 kB / 449.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.2767, allocations: 19.92 kB / 449.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.2768, allocations: 23.95 kB / 449.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.2768, allocations: 12 kB / 449.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.2771, allocations: 219.1 kB / 450 MB, free: 2.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2771, allocations: 0 / 450 MB, free: 2.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004791/0.2776, allocations: 111.8 kB / 450.1 MB, free: 2.848 MB / 350.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001316/0.2789, allocations: 1.052 MB / 451.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000759/0.2796, allocations: 398.4 kB / 451.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2796, allocations: 4 kB / 451.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.2801, allocations: 274.4 kB / 451.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2804, allocations: 66.2 kB / 451.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.2851, allocations: 3.476 MB / 455.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.2853, allocations: 203.8 kB / 455.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.2855, allocations: 39.23 kB / 455.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.2856, allocations: 127.4 kB / 455.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2856, allocations: 0 / 455.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04246/0.3281, allocations: 9.135 MB / 464.9 MB, free: 4.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.59, allocations: 15.52 kB / 464.9 MB, free: 4.055 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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: 14.988034617999801]