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.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.001544/0.001544, allocations: 121.4 kB / 18.45 MB, free: 4.477 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.0016/0.0016, allocations: 189.2 kB / 21.39 MB, free: 1.543 MB / 14.72 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 1.523/1.523, allocations: 207.6 MB / 231.8 MB, free: 4.227 MB / 174.1 MB " [Timeout remaining time 178] 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.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_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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 52.39 kB / 342.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1022, allocations: 49.13 MB / 391.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005856/0.108, allocations: 3.635 MB / 395 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.1103, allocations: 1.068 MB / 396.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.1105, allocations: 11.94 kB / 396.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1108, allocations: 107.1 kB / 396.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006725/0.1115, allocations: 234.7 kB / 396.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.1118, allocations: 147.7 kB / 396.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.113, allocations: 0.9649 MB / 397.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006389/0.1136, allocations: 418.3 kB / 398 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005023/0.1141, allocations: 402.6 kB / 398.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007491/0.1149, allocations: 0.4903 MB / 398.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.115, allocations: 100 kB / 398.9 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.1152, allocations: 100 kB / 399 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002725/0.1154, allocations: 275.2 kB / 399.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004955/0.1159, allocations: 473.8 kB / 399.8 MB, free: 328 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.1173, allocations: 1.277 MB / 401 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1174, allocations: 8 kB / 401.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1174, allocations: 0 / 401.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.1174, allocations: 0 / 401.1 MB, free: 15.03 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002241/0.1196, allocations: 1.173 MB / 402.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1197, allocations: 15.89 kB / 402.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.1198, allocations: 110.7 kB / 402.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.12, allocations: 96.33 kB / 402.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.121, allocations: 0.6082 MB / 403 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.121, allocations: 49.3 kB / 403.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.1211, allocations: 71.92 kB / 403.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.1227, allocations: 0.9033 MB / 404.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.1228, allocations: 7.953 kB / 404.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-05/0.1228, allocations: 24 kB / 404.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-05/0.1229, allocations: 37.28 kB / 404.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.1243, allocations: 0.7858 MB / 404.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00462/0.129, allocations: 2.761 MB / 407.7 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.13, allocations: 0.7099 MB / 408.4 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005691/0.1306, allocations: 313.2 kB / 408.7 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.1306, allocations: 4.328 kB / 408.7 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007938/0.1314, allocations: 381.9 kB / 409.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.385e-06/0.1314, allocations: 0 / 409.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002759/0.1342, allocations: 1.185 MB / 410.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.1342, allocations: 110.8 kB / 410.4 MB, free: 5.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007162/0.135, allocations: 0.5644 MB / 410.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.135, allocations: 33.7 kB / 411 MB, free: 4.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.1354, allocations: 364.6 kB / 411.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.1356, allocations: 142.8 kB / 411.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.1357, allocations: 94.28 kB / 411.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1359, allocations: 366.7 kB / 411.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.1363, allocations: 221 kB / 412.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.1368, allocations: 357.7 kB / 412.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009632/0.1378, allocations: 0.5691 MB / 413 MB, free: 2.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1378, allocations: 4 kB / 413.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001269/0.139, allocations: 0.7476 MB / 413.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1391, allocations: 4 kB / 413.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.1391, allocations: 7.984 kB / 413.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.1396, allocations: 200.7 kB / 414 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.14, allocations: 75.89 kB / 414.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003554/0.1436, allocations: 2.939 MB / 417 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.1439, allocations: 55.64 kB / 417.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.1439, allocations: 23.98 kB / 417.1 MB, free: 14.29 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: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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 (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.0005694/0.1445, allocations: 325.5 kB / 417.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.1446, allocations: 59.62 kB / 417.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.1447, allocations: 65.28 kB / 417.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1447, allocations: 4 kB / 417.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1447, allocations: 0 / 417.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1447, allocations: 7.922 kB / 417.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.1474, allocations: 1.621 MB / 419.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1474, allocations: 3.938 kB / 419.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.1477, allocations: 44.06 kB / 419.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004348/0.1481, allocations: 204.8 kB / 419.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.1481, allocations: 12 kB / 419.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/0.1516, allocations: 2.92 MB / 422.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1516, allocations: 0 / 422.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.1533, allocations: 1.092 MB / 423.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/0.1536, allocations: 200.6 kB / 423.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.1537, allocations: 12 kB / 423.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.154, allocations: 23.97 kB / 423.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.1541, allocations: 55.81 kB / 423.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.1541, allocations: 11.98 kB / 423.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005045/0.1546, allocations: 418.8 kB / 424.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1546, allocations: 0 / 424.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007726/0.1554, allocations: 203.5 kB / 424.3 MB, free: 6.781 MB / 350.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.00208/0.1575, allocations: 1.649 MB / 426 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.1588, allocations: 0.7129 MB / 426.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1588, allocations: 4 kB / 426.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008035/0.1596, allocations: 451.4 kB / 427.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006856/0.1603, allocations: 153.7 kB / 427.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009428/0.1697, allocations: 6.496 MB / 433.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/0.1705, allocations: 1.07 MB / 434.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002773/0.1708, allocations: 96.72 kB / 435 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.1711, allocations: 247.3 kB / 435.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1711, allocations: 0 / 435.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07935/0.2505, allocations: 16.47 MB / 451.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.35, allocations: 1.406 kB / 451.7 MB, free: 11.09 MB / 382.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.041873665060848]