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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 109.7 kB / 18.4 MB, free: 4.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 187 kB / 19.34 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB 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.001155/0.001155, allocations: 51.94 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07063/0.07179, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004343/0.07616, allocations: 3.619 MB / 379.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1478/0.224, allocations: 1.051 MB / 380.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.2244, allocations: 16.47 kB / 380.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.2247, allocations: 106.1 kB / 380.6 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006471/0.2254, allocations: 236.9 kB / 380.9 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.2256, allocations: 141.7 kB / 381 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007632/0.2264, allocations: 0.962 MB / 382 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006267/0.2271, allocations: 0.5541 MB / 382.5 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.2275, allocations: 409.5 kB / 382.9 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005893/0.2281, allocations: 494.7 kB / 383.4 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.2282, allocations: 99.16 kB / 383.5 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.2284, allocations: 99.06 kB / 383.6 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.2286, allocations: 274.7 kB / 383.9 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000383/0.229, allocations: 476.9 kB / 384.3 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.2301, allocations: 1.276 MB / 385.6 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2302, allocations: 0.7031 kB / 385.6 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2302, allocations: 0 / 385.6 MB, free: 8.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.2302, allocations: 1.156 kB / 385.6 MB, free: 8.754 MB / 318.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.001722/0.2319, allocations: 1.175 MB / 386.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.232, allocations: 8.844 kB / 386.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.2321, allocations: 98.75 kB / 386.9 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007171/0.2328, allocations: 0.6003 MB / 387.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.2329, allocations: 48.97 kB / 387.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.233, allocations: 69.8 kB / 387.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.2344, allocations: 0.9128 MB / 388.5 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.2344, allocations: 0 / 388.5 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.2345, allocations: 26.52 kB / 388.5 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/0.2346, allocations: 35.31 kB / 388.6 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.2359, allocations: 0.788 MB / 389.4 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003399/0.2393, allocations: 2.762 MB / 392.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/0.2401, allocations: 0.7415 MB / 392.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/0.2406, allocations: 338.6 kB / 393.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.2406, allocations: 9.203 kB / 393.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000565/0.2412, allocations: 382.3 kB / 393.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.834e-06/0.2412, allocations: 1.094 kB / 393.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002561/0.2438, allocations: 1.186 MB / 394.8 MB, free: 3.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.2439, allocations: 114.6 kB / 394.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006219/0.2445, allocations: 0.5736 MB / 395.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.2445, allocations: 38.3 kB / 395.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.2447, allocations: 354.8 kB / 395.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/0.2448, allocations: 143.6 kB / 396 MB, free: 3.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.245, allocations: 95.67 kB / 396.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.245, allocations: 365.6 kB / 396.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.2454, allocations: 222.1 kB / 396.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.2458, allocations: 355.4 kB / 397 MB, free: 2.391 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/0.2466, allocations: 0.5654 MB / 397.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2466, allocations: 1.188 kB / 397.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001127/0.2477, allocations: 0.7607 MB / 398.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2477, allocations: 6.875 kB / 398.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2477, allocations: 4.125 kB / 398.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004623/0.2482, allocations: 206 kB / 398.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.2485, allocations: 75.34 kB / 398.6 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.2513, allocations: 2.945 MB / 401.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.2517, allocations: 54.03 kB / 401.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.2518, allocations: 19.75 kB / 401.6 MB, free: 15.47 MB / 334.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.0003886/0.2522, allocations: 323 kB / 401.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.68e-05/0.2522, allocations: 58.62 kB / 402 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.2524, allocations: 71.83 kB / 402.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2524, allocations: 1.062 kB / 402.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2524, allocations: 7.938 kB / 402.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.2527, allocations: 197.4 kB / 402.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-05/0.2528, allocations: 14.77 kB / 402.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.253, allocations: 24.64 kB / 402.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.2532, allocations: 40.47 kB / 402.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001673/0.2548, allocations: 0.9159 MB / 403.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001475/0.2563, allocations: 1.099 MB / 404.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004147/0.2568, allocations: 264.5 kB / 404.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004876/0.2573, allocations: 421.7 kB / 405 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Backend: time 2.61e-07/0.2573, allocations: 0 / 405 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.2586, allocations: 0.6026 MB / 405.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of SimCode: time 0.002414/0.261, allocations: 1.912 MB / 407.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of Templates: time 0.01589/0.2769, allocations: 9.915 MB / 417.5 MB, free: 4.285 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/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/jenkins1/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) Reference file matches