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.001299/0.001299, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.00139/0.00139, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.465/1.465, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.00187/0.00187, allocations: 63.89 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1197, allocations: 53.32 MB / 426.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005466/0.1252, allocations: 3.499 MB / 430.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.1271, allocations: 0.9464 MB / 431.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.1273, allocations: 8 kB / 431.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.1275, allocations: 71.23 kB / 431.2 MB, free: 436 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.1278, allocations: 130.8 kB / 431.3 MB, free: 304 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.1282, allocations: 159.8 kB / 431.5 MB, free: 144 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2354/0.3636, allocations: 0.5197 MB / 432 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.3639, allocations: 128.1 kB / 432.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004367/0.3644, allocations: 203.5 kB / 432.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.3647, allocations: 222 kB / 432.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.532e-05/0.3648, allocations: 48.88 kB / 432.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.3649, allocations: 49.66 kB / 432.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.365, allocations: 108.5 kB / 432.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.3652, allocations: 233.4 kB / 433 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005794/0.3658, allocations: 0.5432 MB / 433.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3658, allocations: 1.344 kB / 433.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3658, allocations: 0 / 433.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3658, allocations: 0 / 433.5 MB, free: 7.352 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.001161/0.3669, allocations: 0.7622 MB / 434.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.367, allocations: 8.812 kB / 434.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.006e-05/0.3671, allocations: 76.39 kB / 434.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000252/0.3673, allocations: 67.67 kB / 434.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.3677, allocations: 364.1 kB / 434.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.3677, allocations: 31.62 kB / 434.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.3678, allocations: 35.5 kB / 434.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.3684, allocations: 395.9 kB / 435.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.3684, allocations: 3.281 kB / 435.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.3685, allocations: 19.73 kB / 435.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3685, allocations: 8.531 kB / 435.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.369, allocations: 260.4 kB / 435.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.3709, allocations: 1.494 MB / 437 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.3713, allocations: 217.7 kB / 437.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.3716, allocations: 159.4 kB / 437.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.3716, allocations: 3.484 kB / 437.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.372, allocations: 228.9 kB / 437.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.452e-06/0.372, allocations: 0 / 437.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001442/0.3734, allocations: 0.5962 MB / 438.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.3735, allocations: 112.3 kB / 438.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.3738, allocations: 308.5 kB / 438.6 MB, free: 5.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.3739, allocations: 32.5 kB / 438.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.374, allocations: 228.2 kB / 438.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.3741, allocations: 102.7 kB / 439 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3742, allocations: 72.39 kB / 439 MB, free: 4.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.3742, allocations: 341.8 kB / 439.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.3745, allocations: 91.89 kB / 439.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.3747, allocations: 221.7 kB / 439.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.3751, allocations: 323.5 kB / 440 MB, free: 3.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/0.3751, allocations: 4.969 kB / 440 MB, free: 3.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007464/0.3759, allocations: 424.9 kB / 440.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3759, allocations: 11 kB / 440.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3759, allocations: 4.234 kB / 440.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/0.3762, allocations: 84.31 kB / 440.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.3764, allocations: 58.09 kB / 440.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.378, allocations: 1.992 MB / 442.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.3782, allocations: 50.83 kB / 442.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.3783, allocations: 13.97 kB / 442.6 MB, free: 1.988 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_n.off,rectifier.diode_p.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.0001693/0.3784, allocations: 169.7 kB / 442.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.3785, allocations: 37.58 kB / 442.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.146e-05/0.3785, allocations: 39.83 kB / 442.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3786, allocations: 6.562 kB / 442.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3786, allocations: 1.031 kB / 442.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3786, allocations: 5.875 kB / 442.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.3792, allocations: 0.5764 MB / 443.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3792, allocations: 0 / 443.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.3793, allocations: 36.44 kB / 443.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.3796, allocations: 76.27 kB / 443.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.3796, allocations: 7.578 kB / 443.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.3814, allocations: 1.995 MB / 445.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3814, allocations: 2.062 kB / 445.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009888/0.3824, allocations: 494.5 kB / 446.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.3825, allocations: 146 kB / 446.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.3826, allocations: 7 kB / 446.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.3827, allocations: 15.08 kB / 446.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.3828, allocations: 23.95 kB / 446.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.3828, allocations: 11 kB / 446.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.3831, allocations: 221.9 kB / 446.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3831, allocations: 4 kB / 446.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005385/0.3837, allocations: 111.5 kB / 446.6 MB, free: 15.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.001341/0.385, allocations: 1.054 MB / 447.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000865/0.3859, allocations: 409.3 kB / 448 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3859, allocations: 0 / 448 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004261/0.3863, allocations: 267.2 kB / 448.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.3867, allocations: 67.11 kB / 448.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/0.3917, allocations: 3.474 MB / 451.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.3922, allocations: 0.8107 MB / 452.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.3923, allocations: 34.22 kB / 452.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.3925, allocations: 125.3 kB / 452.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3925, allocations: 0 / 452.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04089/0.4334, allocations: 8.576 MB / 461.4 MB, free: 8.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.45, allocations: 6.062 kB / 461.4 MB, free: 8.289 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.945160859730095]