Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.001722/0.001722, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002021/0.002021, allocations: 213.2 kB / 23.73 MB, free: 4.164 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.509/1.509, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.91 kB / 377.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2618, allocations: 53.41 MB / 431.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005324/0.2671, allocations: 3.222 MB / 434.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.2692, allocations: 0.8919 MB / 435.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.2694, allocations: 11.94 kB / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.2696, allocations: 67.3 kB / 435.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.2699, allocations: 130.8 kB / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.2703, allocations: 163.8 kB / 435.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006231/0.271, allocations: 0.533 MB / 436.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.2712, allocations: 110.3 kB / 436.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.2716, allocations: 215.1 kB / 436.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.2719, allocations: 191 kB / 436.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.508e-05/0.2719, allocations: 48 kB / 436.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.2721, allocations: 48 kB / 436.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.2722, allocations: 107.5 kB / 436.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.2724, allocations: 199.1 kB / 437.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007163/0.2731, allocations: 0.5446 MB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2731, allocations: 3.938 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2731, allocations: 0 / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.2731, allocations: 0 / 437.6 MB, free: 15.96 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001616/0.2747, allocations: 0.7843 MB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.2748, allocations: 15.98 kB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.232e-05/0.2749, allocations: 74.7 kB / 438.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.2752, allocations: 68.59 kB / 438.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.2757, allocations: 295.3 kB / 438.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.2757, allocations: 33.36 kB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.2758, allocations: 40.38 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.2765, allocations: 421.5 kB / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.2766, allocations: 4 kB / 439.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.2766, allocations: 15.98 kB / 439.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.2766, allocations: 12 kB / 439.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005293/0.2771, allocations: 255.8 kB / 439.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.2794, allocations: 1.36 MB / 441 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.2799, allocations: 231.3 kB / 441.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003935/0.2803, allocations: 153.2 kB / 441.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.2803, allocations: 4.234 kB / 441.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004791/0.2808, allocations: 255.7 kB / 441.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.874e-06/0.2808, allocations: 0 / 441.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001512/0.2823, allocations: 0.4995 MB / 442.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.2824, allocations: 110.8 kB / 442.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.2827, allocations: 312.5 kB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.2828, allocations: 37.7 kB / 442.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.283, allocations: 220.7 kB / 442.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.2831, allocations: 103.2 kB / 442.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.2832, allocations: 70.06 kB / 442.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.2834, allocations: 346.8 kB / 443.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.2836, allocations: 92.64 kB / 443.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.284, allocations: 255.2 kB / 443.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.2846, allocations: 326.1 kB / 443.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2846, allocations: 0 / 443.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008278/0.2854, allocations: 413.6 kB / 444.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.2854, allocations: 8 kB / 444.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2854, allocations: 4 kB / 444.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/0.2858, allocations: 85.23 kB / 444.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.286, allocations: 55.92 kB / 444.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.2883, allocations: 1.891 MB / 446.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.2886, allocations: 35.77 kB / 446.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.2886, allocations: 20 kB / 446.4 MB, free: 6.609 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.0002933/0.2889, allocations: 169.2 kB / 446.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.289, allocations: 43.7 kB / 446.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.85e-05/0.2891, allocations: 43.94 kB / 446.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2891, allocations: 4 kB / 446.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2891, allocations: 0 / 446.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.2891, allocations: 0 / 446.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007523/0.2899, allocations: 0.506 MB / 447.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2899, allocations: 3.938 kB / 447.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.29, allocations: 36 kB / 447.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002354/0.2903, allocations: 76.94 kB / 447.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.2903, allocations: 8 kB / 447.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.2923, allocations: 1.879 MB / 449.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2923, allocations: 0 / 449.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.2934, allocations: 0.5033 MB / 449.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.2935, allocations: 59.8 kB / 449.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.2936, allocations: 11.97 kB / 449.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.2938, allocations: 12 kB / 449.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/0.2939, allocations: 32 kB / 449.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.2939, allocations: 12 kB / 449.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002537/0.2941, allocations: 219.1 kB / 450 MB, free: 2.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2941, allocations: 0 / 450 MB, free: 2.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005616/0.2947, allocations: 115.8 kB / 450.2 MB, free: 2.695 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.001348/0.296, allocations: 1.048 MB / 451.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000854/0.2969, allocations: 403.3 kB / 451.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2969, allocations: 0 / 451.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.2973, allocations: 274.6 kB / 451.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.2977, allocations: 61.19 kB / 451.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.3029, allocations: 3.483 MB / 455.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.3031, allocations: 207.8 kB / 455.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.3033, allocations: 35.14 kB / 455.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.3035, allocations: 131.4 kB / 455.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3035, allocations: 0 / 455.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0461/0.3496, allocations: 9.049 MB / 464.8 MB, free: 3.945 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.18, allocations: 3.938 kB / 464.8 MB, free: 3.941 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 15.695460801012814]