Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.0008229/0.0008229, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008114/0.0008114, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8841/0.8841, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_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_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 318.5 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.493e-05, allocations: 2.281 kB / 318.5 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003734/0.003759, allocations: 3.397 MB / 321.9 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.005048, allocations: 0.9739 MB / 322.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.005213, allocations: 19.88 kB / 322.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.005419, allocations: 107.1 kB / 323 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005666/0.005986, allocations: 254.3 kB / 323.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.006187, allocations: 143.6 kB / 323.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006312/0.006818, allocations: 0.9842 MB / 324.3 MB, free: 468 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.007166, allocations: 331.4 kB / 324.7 MB, free: 124 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004368/0.007602, allocations: 0.5925 MB / 325.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004515/0.008054, allocations: 458.7 kB / 325.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.613e-05/0.00814, allocations: 104 kB / 325.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.958e-05/0.00823, allocations: 100 kB / 325.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.008401, allocations: 287.1 kB / 326.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.008619, allocations: 327.2 kB / 326.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007696/0.009388, allocations: 1.305 MB / 327.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.009391, allocations: 0 / 327.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.009392, allocations: 0 / 327.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.009402, allocations: 0 / 327.8 MB, free: 12.97 MB / 298.7 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.001599/0.011, allocations: 1.295 MB / 329.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.01104, allocations: 16.03 kB / 329.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.264e-05/0.01113, allocations: 114.7 kB / 329.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.257e-05/0.01122, allocations: 96.33 kB / 329.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.0118, allocations: 0.5824 MB / 329.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.01183, allocations: 53.69 kB / 330 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/0.01189, allocations: 64.12 kB / 330 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008829/0.01278, allocations: 0.944 MB / 331 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.01279, allocations: 4 kB / 331 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.01283, allocations: 24 kB / 331 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.01287, allocations: 37.28 kB / 331 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007845/0.01365, allocations: 0.7936 MB / 331.8 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.01583, allocations: 2.516 MB / 334.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.01631, allocations: 498.6 kB / 334.8 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005771/0.01689, allocations: 313.3 kB / 335.1 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.01691, allocations: 8.328 kB / 335.1 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003747/0.01729, allocations: 399.6 kB / 335.5 MB, free: 4.992 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.784e-06/0.01729, allocations: 4 kB / 335.5 MB, free: 4.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001508/0.0188, allocations: 1.11 MB / 336.6 MB, free: 3.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.01885, allocations: 122.7 kB / 336.8 MB, free: 3.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.01927, allocations: 0.5721 MB / 337.3 MB, free: 3.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.0193, allocations: 37.64 kB / 337.4 MB, free: 3.098 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.01947, allocations: 364.7 kB / 337.7 MB, free: 2.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.01954, allocations: 142.8 kB / 337.9 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.01963, allocations: 90.17 kB / 338 MB, free: 2.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.01972, allocations: 362.8 kB / 338.3 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.01995, allocations: 220.8 kB / 338.5 MB, free: 1.922 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.02023, allocations: 378.9 kB / 338.9 MB, free: 1.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.02073, allocations: 0.5652 MB / 339.5 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.02073, allocations: 3.938 kB / 339.5 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007333/0.02147, allocations: 0.7551 MB / 340.2 MB, free: 100 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.02148, allocations: 4 kB / 340.2 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.02149, allocations: 4 kB / 340.2 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003319/0.02182, allocations: 204.8 kB / 340.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.022, allocations: 84.11 kB / 340.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.02425, allocations: 2.801 MB / 343.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.02443, allocations: 63.69 kB / 343.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.02445, allocations: 20 kB / 343.4 MB, free: 12.81 MB / 314.7 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.0002454/0.02469, allocations: 329.5 kB / 343.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.02474, allocations: 55.67 kB / 343.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.111e-05/0.02481, allocations: 69.27 kB / 343.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.02482, allocations: 4 kB / 343.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.02482, allocations: 0 / 343.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.02482, allocations: 11.98 kB / 343.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.02622, allocations: 1.521 MB / 345.4 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02622, allocations: 0 / 345.4 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.02635, allocations: 47.91 kB / 345.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002468/0.0266, allocations: 196.8 kB / 345.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.02662, allocations: 12 kB / 345.6 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.02846, allocations: 2.793 MB / 348.4 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02846, allocations: 0 / 348.4 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.02968, allocations: 1.105 MB / 349.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.02983, allocations: 119.5 kB / 349.6 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.02987, allocations: 11.98 kB / 349.6 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.03002, allocations: 31.97 kB / 349.7 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.03009, allocations: 43.86 kB / 349.7 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.03012, allocations: 15.98 kB / 349.7 MB, free: 6.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003056/0.03042, allocations: 422.7 kB / 350.1 MB, free: 5.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03042, allocations: 0 / 350.1 MB, free: 5.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004048/0.03083, allocations: 203.5 kB / 350.3 MB, free: 5.641 MB / 314.7 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.001513/0.03234, allocations: 1.647 MB / 352 MB, free: 3.961 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008162/0.03315, allocations: 0.7174 MB / 352.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.03316, allocations: 0 / 352.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004007/0.03356, allocations: 458.5 kB / 353.2 MB, free: 2.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.03398, allocations: 137.9 kB / 353.3 MB, free: 2.637 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/0.03988, allocations: 6.446 MB / 359.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.04024, allocations: 490 kB / 360.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001671/0.0404, allocations: 96.72 kB / 360.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.04062, allocations: 240.4 kB / 360.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of SimCode: time 6.22e-07/0.04062, allocations: 4 kB / 360.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.06928, allocations: 17.15 MB / 377.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/7.95, allocations: 4.062 kB / 377.7 MB, free: 10.32 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.596073894761503]