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.001427/0.001427, allocations: 120.8 kB / 17.79 MB, free: 5.285 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.001397/0.001397, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.43/1.43, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.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.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 0.001556/0.001556, allocations: 55.91 kB / 365.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1103, allocations: 52.15 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005905/0.1162, allocations: 3.69 MB / 421.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.1185, allocations: 1.009 MB / 422.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002755/0.1188, allocations: 15.94 kB / 422.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1191, allocations: 111.1 kB / 422.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008537/0.1199, allocations: 234.7 kB / 422.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.1203, allocations: 143.7 kB / 423 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.1216, allocations: 0.9534 MB / 424 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006937/0.1223, allocations: 442.9 kB / 424.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006367/0.1229, allocations: 410.6 kB / 424.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008056/0.1237, allocations: 0.4942 MB / 425.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.1239, allocations: 100 kB / 425.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.124, allocations: 100 kB / 425.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.1243, allocations: 279.2 kB / 425.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005637/0.1249, allocations: 473.8 kB / 426.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.1263, allocations: 1.288 MB / 427.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1263, allocations: 0 / 427.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1263, allocations: 4 kB / 427.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.1263, allocations: 4 kB / 427.5 MB, free: 2.855 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002486/0.1288, allocations: 1.192 MB / 428.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.1288, allocations: 15.89 kB / 428.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.129, allocations: 114.7 kB / 428.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.1292, allocations: 92.38 kB / 428.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.1303, allocations: 0.6393 MB / 429.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.1303, allocations: 49.31 kB / 429.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.1304, allocations: 67.94 kB / 429.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.132, allocations: 0.9228 MB / 430.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.1321, allocations: 0 / 430.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.119e-05/0.1321, allocations: 31.98 kB / 430.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/0.1322, allocations: 29.31 kB / 430.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.1336, allocations: 0.7897 MB / 431.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004631/0.1382, allocations: 2.792 MB / 434.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.1392, allocations: 0.7059 MB / 434.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/0.1398, allocations: 321.2 kB / 435.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.1399, allocations: 4.328 kB / 435.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006795/0.1405, allocations: 385.8 kB / 435.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.524e-06/0.1405, allocations: 0 / 435.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002913/0.1435, allocations: 1.224 MB / 436.9 MB, free: 9.148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.1436, allocations: 110.8 kB / 437 MB, free: 9.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007987/0.1444, allocations: 0.5722 MB / 437.5 MB, free: 8.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.1444, allocations: 33.7 kB / 437.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.1447, allocations: 360.6 kB / 437.9 MB, free: 8.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.1449, allocations: 146.8 kB / 438.1 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.145, allocations: 86.25 kB / 438.2 MB, free: 7.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1452, allocations: 366.8 kB / 438.5 MB, free: 7.438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.1456, allocations: 217 kB / 438.7 MB, free: 7.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.1461, allocations: 368.1 kB / 439.1 MB, free: 6.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008717/0.147, allocations: 0.5653 MB / 439.6 MB, free: 6.191 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.147, allocations: 4 kB / 439.7 MB, free: 6.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001383/0.1484, allocations: 0.7472 MB / 440.4 MB, free: 5.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1484, allocations: 4 kB / 440.4 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1484, allocations: 4.5 kB / 440.4 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.149, allocations: 208.7 kB / 440.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.1493, allocations: 79.83 kB / 440.7 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/0.1531, allocations: 3.041 MB / 443.7 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.1536, allocations: 55.8 kB / 443.8 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.1536, allocations: 19.98 kB / 443.8 MB, free: 1.875 MB / 366.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: 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[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005068/0.1541, allocations: 317.6 kB / 444.1 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.1542, allocations: 59.66 kB / 444.2 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.1544, allocations: 73.28 kB / 444.2 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1544, allocations: 4 kB / 444.2 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1544, allocations: 0 / 444.2 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1544, allocations: 7.922 kB / 444.3 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2069/0.3613, allocations: 1.731 MB / 446 MB, free: 30.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.3613, allocations: 1.875 kB / 446 MB, free: 30.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.3616, allocations: 46.86 kB / 446 MB, free: 30.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003973/0.362, allocations: 197.9 kB / 446.2 MB, free: 30.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.362, allocations: 11.94 kB / 446.2 MB, free: 30.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.3645, allocations: 2.908 MB / 449.1 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3645, allocations: 1.094 kB / 449.1 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.366, allocations: 1.146 MB / 450.3 MB, free: 28.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.3663, allocations: 189.1 kB / 450.5 MB, free: 28.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/0.3664, allocations: 13.11 kB / 450.5 MB, free: 28.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.3667, allocations: 32.06 kB / 450.5 MB, free: 28.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.3668, allocations: 42.69 kB / 450.6 MB, free: 28.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.3669, allocations: 15.42 kB / 450.6 MB, free: 28.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004506/0.3673, allocations: 416.4 kB / 451 MB, free: 28.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3673, allocations: 0 / 451 MB, free: 28.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007093/0.368, allocations: 212.6 kB / 451.2 MB, free: 28.35 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.001894/0.3699, allocations: 1.703 MB / 452.9 MB, free: 27.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.3712, allocations: 0.713 MB / 453.6 MB, free: 27.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3712, allocations: 0 / 453.6 MB, free: 27.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006664/0.3719, allocations: 461.5 kB / 454.1 MB, free: 27.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.3726, allocations: 145.1 kB / 454.2 MB, free: 27.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008925/0.3815, allocations: 6.558 MB / 460.8 MB, free: 23.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006006/0.3821, allocations: 1.074 MB / 461.8 MB, free: 23.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003372/0.3824, allocations: 94.52 kB / 461.9 MB, free: 23.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.3827, allocations: 242.7 kB / 462.2 MB, free: 22.88 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3827, allocations: 0 / 462.2 MB, free: 22.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05158/0.4343, allocations: 16.51 MB / 478.7 MB, free: 16.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.8, allocations: 13.89 kB / 478.7 MB, free: 16.3 MB / 366.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.182561995927244]