Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001098/0.001098, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009385/0.0009385, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.878/0.878, allocations: 177.1 MB / 204.3 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.072e-05, allocations: 6.219 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003507/0.003528, allocations: 3.452 MB / 328 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.005089, allocations: 1.048 MB / 329.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.005305, allocations: 27.81 kB / 329.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.005536, allocations: 111.1 kB / 329.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007274/0.006264, allocations: 246.4 kB / 329.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.006553, allocations: 163.6 kB / 329.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008163/0.007369, allocations: 0.9996 MB / 330.6 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.007758, allocations: 339.5 kB / 331 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005847/0.008342, allocations: 0.6003 MB / 331.6 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005012/0.008844, allocations: 446.9 kB / 332 MB, free: 8.473 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.022e-05/0.008924, allocations: 104 kB / 332.1 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.00904, allocations: 107.9 kB / 332.2 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.009199, allocations: 295.1 kB / 332.5 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.009425, allocations: 331.2 kB / 332.8 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008311/0.01026, allocations: 1.328 MB / 334.1 MB, free: 6.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.01026, allocations: 0 / 334.1 MB, free: 6.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.01026, allocations: 0 / 334.1 MB, free: 6.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.01027, allocations: 0 / 334.1 MB, free: 6.32 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.001562/0.01183, allocations: 1.311 MB / 335.5 MB, free: 4.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.01187, allocations: 8.031 kB / 335.5 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.211e-05/0.01197, allocations: 110.7 kB / 335.6 MB, free: 4.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.01219, allocations: 128.2 kB / 335.7 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/0.01281, allocations: 0.6079 MB / 336.3 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.01284, allocations: 45.69 kB / 336.3 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.01291, allocations: 72.11 kB / 336.4 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009394/0.01385, allocations: 0.944 MB / 337.4 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.01387, allocations: 3.953 kB / 337.4 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.01391, allocations: 28 kB / 337.4 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.01394, allocations: 37.23 kB / 337.4 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008391/0.01478, allocations: 0.7897 MB / 338.2 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.01711, allocations: 2.527 MB / 340.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.01761, allocations: 491.6 kB / 341.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.01796, allocations: 322.2 kB / 341.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.01798, allocations: 4.328 kB / 341.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004564/0.01844, allocations: 415.3 kB / 342 MB, free: 14.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.893e-06/0.01844, allocations: 4 kB / 342 MB, free: 14.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001556/0.02, allocations: 1.115 MB / 343.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.02005, allocations: 110.8 kB / 343.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.02049, allocations: 0.584 MB / 343.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.02052, allocations: 37.7 kB / 343.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.0207, allocations: 364.7 kB / 344.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/0.02078, allocations: 146.8 kB / 344.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.049e-05/0.02087, allocations: 90.14 kB / 344.4 MB, free: 11.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.02097, allocations: 374.8 kB / 344.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.02119, allocations: 212.9 kB / 345 MB, free: 11.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.02148, allocations: 386.8 kB / 345.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.02204, allocations: 0.5667 MB / 345.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.02205, allocations: 15.88 kB / 345.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007343/0.02278, allocations: 0.7477 MB / 346.7 MB, free: 9.348 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.0228, allocations: 4 kB / 346.7 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.0228, allocations: 4 kB / 346.7 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/0.02312, allocations: 200.7 kB / 346.9 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.02329, allocations: 83.83 kB / 347 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.02522, allocations: 2.798 MB / 349.8 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.02538, allocations: 59.69 kB / 349.8 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.0254, allocations: 16 kB / 349.8 MB, free: 6.074 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.000246/0.02565, allocations: 341.5 kB / 350.2 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.0257, allocations: 59.62 kB / 350.2 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/0.02577, allocations: 69.42 kB / 350.3 MB, free: 5.598 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.02577, allocations: 4 kB / 350.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.02577, allocations: 0 / 350.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.02578, allocations: 0 / 350.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.02712, allocations: 1.541 MB / 351.8 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.02712, allocations: 0 / 351.8 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.02725, allocations: 43.97 kB / 351.9 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002401/0.02749, allocations: 192.6 kB / 352.1 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.02751, allocations: 8 kB / 352.1 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.02949, allocations: 2.797 MB / 354.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.02949, allocations: 0 / 354.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009754/0.03047, allocations: 1.115 MB / 356 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.03061, allocations: 119.5 kB / 356.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.03065, allocations: 11.98 kB / 356.1 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.03079, allocations: 19.98 kB / 356.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.03087, allocations: 47.91 kB / 356.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.03088, allocations: 15.98 kB / 356.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000307/0.03119, allocations: 430.7 kB / 356.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03119, allocations: 4 kB / 356.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004018/0.03159, allocations: 211.5 kB / 356.8 MB, free: 14.87 MB / 330.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.001174/0.03277, allocations: 1.655 MB / 358.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007479/0.03352, allocations: 0.7048 MB / 359.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.03352, allocations: 4.938 kB / 359.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.0339, allocations: 466.4 kB / 359.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.03433, allocations: 146.7 kB / 359.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/0.04003, allocations: 6.534 MB / 366.3 MB, free: 5.102 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.04034, allocations: 486.2 kB / 366.8 MB, free: 4.602 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.04066, allocations: 104.7 kB / 366.9 MB, free: 4.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.04087, allocations: 244.4 kB / 367.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.04087, allocations: 3.938 kB / 367.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.07059, allocations: 17.45 MB / 384.6 MB, free: 3.148 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/7.831, allocations: 14.95 kB / 384.6 MB, free: 3.137 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.478960793465376]