Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 184.6 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_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_0_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.001512/0.001512, allocations: 47.92 kB / 370.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3067, allocations: 52.18 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005998/0.3127, allocations: 3.488 MB / 426.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.3147, allocations: 0.8529 MB / 427 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.315, allocations: 7.938 kB / 427 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.3152, allocations: 71.3 kB / 427.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.3156, allocations: 114.9 kB / 427.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.316, allocations: 147.8 kB / 427.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007537/0.3167, allocations: 0.5174 MB / 427.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.3171, allocations: 119.3 kB / 428 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.3175, allocations: 207.2 kB / 428.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.3178, allocations: 211 kB / 428.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.118e-05/0.3179, allocations: 48 kB / 428.4 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/0.318, allocations: 47.94 kB / 428.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.3181, allocations: 95.69 kB / 428.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.3184, allocations: 246.8 kB / 428.8 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000812/0.3192, allocations: 0.5285 MB / 429.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3192, allocations: 0 / 429.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3192, allocations: 3.938 kB / 429.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.3192, allocations: 0 / 429.3 MB, free: 7.871 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001613/0.3209, allocations: 0.7623 MB / 430.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3209, allocations: 8.031 kB / 430.1 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.321, allocations: 78.69 kB / 430.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/0.3211, allocations: 52.61 kB / 430.2 MB, free: 6.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/0.3216, allocations: 287.3 kB / 430.5 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/0.3217, allocations: 29.38 kB / 430.5 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.3217, allocations: 44.33 kB / 430.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.3224, allocations: 391.8 kB / 431 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.3224, allocations: 0 / 431 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.3225, allocations: 19.98 kB / 431 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3225, allocations: 8 kB / 431 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005268/0.323, allocations: 263.8 kB / 431.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.3254, allocations: 1.43 MB / 432.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.3259, allocations: 227.4 kB / 432.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/0.3263, allocations: 153.2 kB / 433 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.3263, allocations: 4.234 kB / 433 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.3267, allocations: 222 kB / 433.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.373e-06/0.3267, allocations: 0 / 433.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001506/0.3282, allocations: 0.5058 MB / 433.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.3283, allocations: 106.8 kB / 433.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.3287, allocations: 296.6 kB / 434.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.3287, allocations: 33.7 kB / 434.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.3289, allocations: 224.6 kB / 434.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.515e-05/0.329, allocations: 99.25 kB / 434.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3291, allocations: 74.02 kB / 434.6 MB, free: 2.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3293, allocations: 342.8 kB / 434.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.3295, allocations: 92.7 kB / 435 MB, free: 1.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.3298, allocations: 229.5 kB / 435.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.3303, allocations: 326.5 kB / 435.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.3303, allocations: 8 kB / 435.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007304/0.3311, allocations: 394.3 kB / 435.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3311, allocations: 12.03 kB / 436 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3311, allocations: 4 kB / 436 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.3314, allocations: 84.75 kB / 436 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.3317, allocations: 59.84 kB / 436.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.3341, allocations: 1.9 MB / 438 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.3343, allocations: 43.83 kB / 438 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.3343, allocations: 16 kB / 438.1 MB, free: 14.6 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.0002612/0.3346, allocations: 174.2 kB / 438.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.3347, allocations: 39.75 kB / 438.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.441e-05/0.3348, allocations: 35.09 kB / 438.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3348, allocations: 4 kB / 438.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3348, allocations: 4 kB / 438.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3348, allocations: 4 kB / 438.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000876/0.3356, allocations: 0.5448 MB / 438.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3356, allocations: 0 / 438.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.3358, allocations: 31.98 kB / 438.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/0.3361, allocations: 80.75 kB / 439 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.3361, allocations: 7.984 kB / 439 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.3382, allocations: 1.899 MB / 440.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3382, allocations: 0 / 440.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009764/0.3391, allocations: 0.4958 MB / 441.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.3393, allocations: 51.77 kB / 441.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.3393, allocations: 15.98 kB / 441.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.3395, allocations: 12 kB / 441.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.3396, allocations: 27.94 kB / 441.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.3396, allocations: 8 kB / 441.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002336/0.3398, allocations: 211.1 kB / 441.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3398, allocations: 4 kB / 441.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004923/0.3403, allocations: 115.7 kB / 441.8 MB, free: 10.65 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.001432/0.3418, allocations: 1.045 MB / 442.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009073/0.3427, allocations: 411.5 kB / 443.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3427, allocations: 0 / 443.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.3432, allocations: 279.3 kB / 443.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.3436, allocations: 61.11 kB / 443.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004971/0.3485, allocations: 3.401 MB / 447 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.3491, allocations: 0.8107 MB / 447.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.3492, allocations: 34.97 kB / 447.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.3494, allocations: 119.4 kB / 448 MB, free: 4.234 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3494, allocations: 0 / 448 MB, free: 4.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04511/0.3945, allocations: 8.537 MB / 456.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.25, allocations: 8.391 kB / 456.5 MB, free: 11.91 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 15.66054623783566]