Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001007/0.001007, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004247/0.004247, allocations: 163.1 kB / 24.69 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8137/0.8137, allocations: 158.6 MB / 186.5 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 3.938 kB / 298.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.813e-05, allocations: 2.281 kB / 298.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004998/0.005016, allocations: 3.367 MB / 301.8 MB, free: 92 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1396/0.1446, allocations: 1.005 MB / 302.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.1449, allocations: 19.31 kB / 302.9 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.1452, allocations: 108 kB / 303 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000833/0.146, allocations: 255.2 kB / 303.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1463, allocations: 146.9 kB / 303.4 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00088/0.1472, allocations: 0.9815 MB / 304.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004228/0.1476, allocations: 311.5 kB / 304.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006002/0.1482, allocations: 0.5821 MB / 305.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005756/0.1488, allocations: 444.8 kB / 305.7 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.1489, allocations: 99.84 kB / 305.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1491, allocations: 99.88 kB / 305.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.1493, allocations: 287.6 kB / 306.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.1496, allocations: 322.7 kB / 306.4 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.1512, allocations: 1.3 MB / 307.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1512, allocations: 2.781 kB / 307.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.1512, allocations: 0 / 307.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.716e-05/0.1513, allocations: 3.688 kB / 307.8 MB, free: 11.59 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001979/0.1533, allocations: 1.282 MB / 309 MB, free: 10.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.1533, allocations: 14.11 kB / 309 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.1534, allocations: 111 kB / 309.2 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.1536, allocations: 99.06 kB / 309.3 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006972/0.1543, allocations: 0.5406 MB / 309.8 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.1543, allocations: 48.45 kB / 309.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/0.1544, allocations: 71.7 kB / 309.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.1555, allocations: 0.9387 MB / 310.8 MB, free: 9.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.1556, allocations: 1 kB / 310.9 MB, free: 9.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.1556, allocations: 26.84 kB / 310.9 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.1557, allocations: 30.58 kB / 310.9 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009794/0.1566, allocations: 0.7863 MB / 311.7 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.1593, allocations: 2.501 MB / 314.2 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.1599, allocations: 0.4925 MB / 314.7 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.1603, allocations: 313 kB / 315 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1603, allocations: 4.109 kB / 315 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004702/0.1608, allocations: 410.5 kB / 315.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.1608, allocations: 1.094 kB / 315.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.001784/0.1626, allocations: 1.126 MB / 316.5 MB, free: 7.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.1626, allocations: 112.5 kB / 316.6 MB, free: 7.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.1632, allocations: 0.5756 MB / 317.2 MB, free: 6.801 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.1632, allocations: 33.64 kB / 317.2 MB, free: 6.766 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.1634, allocations: 362.7 kB / 317.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/0.1634, allocations: 140.1 kB / 317.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1635, allocations: 92.91 kB / 317.8 MB, free: 6.332 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.1636, allocations: 371 kB / 318.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.1639, allocations: 218.5 kB / 318.4 MB, free: 5.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.1642, allocations: 379.8 kB / 318.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/0.1647, allocations: 0.5658 MB / 319.3 MB, free: 5.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1647, allocations: 0.9062 kB / 319.3 MB, free: 5.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008055/0.1655, allocations: 0.7463 MB / 320.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1655, allocations: 7.594 kB / 320.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.1655, allocations: 12.5 kB / 320.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003652/0.1659, allocations: 203.5 kB / 320.3 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.1661, allocations: 79.73 kB / 320.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.1683, allocations: 2.795 MB / 323.2 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.1685, allocations: 56.47 kB / 323.2 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.1685, allocations: 14.44 kB / 323.2 MB, free: 2.41 MB / 282.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0002404/0.1688, allocations: 333.6 kB / 323.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.1688, allocations: 59.36 kB / 323.6 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.126e-05/0.1689, allocations: 67.61 kB / 323.7 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1689, allocations: 4.469 kB / 323.7 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1689, allocations: 3.938 kB / 323.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1689, allocations: 5.297 kB / 323.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.1704, allocations: 1.512 MB / 325.2 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1704, allocations: 9.203 kB / 325.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.1706, allocations: 47.03 kB / 325.3 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002861/0.1708, allocations: 196 kB / 325.5 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.1709, allocations: 8.188 kB / 325.5 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.173, allocations: 2.782 MB / 328.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.173, allocations: 3.938 kB / 328.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.174, allocations: 1.087 MB / 329.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.1742, allocations: 128 kB / 329.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.1742, allocations: 14.09 kB / 329.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.1744, allocations: 28.19 kB / 329.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.1745, allocations: 53.31 kB / 329.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.1745, allocations: 12.62 kB / 329.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003721/0.1749, allocations: 416.8 kB / 330 MB, free: 13.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1749, allocations: 0 / 330 MB, free: 13.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000466/0.1753, allocations: 209.2 kB / 330.2 MB, free: 13.61 MB / 298.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.001411/0.1767, allocations: 1.646 MB / 331.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008571/0.1776, allocations: 0.7094 MB / 332.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1776, allocations: 0 / 332.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.178, allocations: 461.9 kB / 333 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.1785, allocations: 146.5 kB / 333.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0064/0.1849, allocations: 6.507 MB / 339.6 MB, free: 4.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.1852, allocations: 477.9 kB / 340.1 MB, free: 3.891 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.1854, allocations: 99.36 kB / 340.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.1857, allocations: 244.4 kB / 340.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1857, allocations: 0 / 340.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.2208, allocations: 17.17 MB / 357.6 MB, free: 2.34 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.334/8.555, allocations: 7.984 kB / 357.6 MB, free: 2.332 MB / 314.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.078348170034587]