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.001037/0.001037, allocations: 107.3 kB / 18.4 MB, free: 4.68 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.0009744/0.0009744, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.325/1.325, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001193/0.001193, allocations: 43.94 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07492/0.07612, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004366/0.08052, allocations: 3.616 MB / 379.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1558/0.2363, allocations: 1.049 MB / 380.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.2368, allocations: 17.97 kB / 380.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.2371, allocations: 104.7 kB / 380.6 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006736/0.2378, allocations: 226.3 kB / 380.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.2381, allocations: 146 kB / 381 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007756/0.2388, allocations: 0.9575 MB / 381.9 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006689/0.2395, allocations: 0.5575 MB / 382.5 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004786/0.24, allocations: 409.2 kB / 382.9 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005788/0.2406, allocations: 493.1 kB / 383.4 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.2407, allocations: 99.69 kB / 383.5 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.2409, allocations: 98.91 kB / 383.6 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.2412, allocations: 275.7 kB / 383.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003992/0.2416, allocations: 479.3 kB / 384.3 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.2427, allocations: 1.266 MB / 385.6 MB, free: 8.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2427, allocations: 0 / 385.6 MB, free: 8.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2427, allocations: 0 / 385.6 MB, free: 8.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.2427, allocations: 0 / 385.6 MB, free: 8.785 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.001773/0.2445, allocations: 1.157 MB / 386.7 MB, free: 8.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2445, allocations: 9.141 kB / 386.7 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.2447, allocations: 94.62 kB / 386.8 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009019/0.2456, allocations: 0.6037 MB / 387.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.2457, allocations: 47.59 kB / 387.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.2458, allocations: 66.81 kB / 387.6 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.2473, allocations: 0.9087 MB / 388.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.2473, allocations: 1.141 kB / 388.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.628e-05/0.2474, allocations: 34.27 kB / 388.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/0.2474, allocations: 32.84 kB / 388.5 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.2487, allocations: 0.7886 MB / 389.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.2521, allocations: 2.75 MB / 392.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007804/0.2529, allocations: 0.7431 MB / 392.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.2535, allocations: 336 kB / 393.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.2535, allocations: 15.12 kB / 393.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005806/0.2541, allocations: 379.1 kB / 393.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/0.2541, allocations: 0 / 393.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.00262/0.2568, allocations: 1.183 MB / 394.7 MB, free: 3.973 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.2568, allocations: 113.1 kB / 394.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006388/0.2575, allocations: 0.5693 MB / 395.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.2575, allocations: 37.66 kB / 395.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.2577, allocations: 351.8 kB / 395.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.14e-05/0.2578, allocations: 142.1 kB / 395.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.258, allocations: 90.8 kB / 396 MB, free: 3.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.436e-05/0.258, allocations: 366.4 kB / 396.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.2584, allocations: 217.5 kB / 396.6 MB, free: 2.711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/0.2588, allocations: 361.3 kB / 396.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007272/0.2596, allocations: 0.5662 MB / 397.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.2596, allocations: 2.406 kB / 397.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001158/0.2607, allocations: 0.7565 MB / 398.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2608, allocations: 6.969 kB / 398.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.2608, allocations: 4.094 kB / 398.3 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.2613, allocations: 205.3 kB / 398.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.2616, allocations: 74.55 kB / 398.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/0.2644, allocations: 2.937 MB / 401.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.2648, allocations: 58.97 kB / 401.5 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.2648, allocations: 20.59 kB / 401.5 MB, free: 15.55 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.0004433/0.2653, allocations: 325.9 kB / 401.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/0.2653, allocations: 55.19 kB / 401.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.2655, allocations: 67.48 kB / 402 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2655, allocations: 0 / 402 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2655, allocations: 0.9062 kB / 402 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.2658, allocations: 196.4 kB / 402.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/0.2659, allocations: 15.56 kB / 402.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.2661, allocations: 28.19 kB / 402.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.2662, allocations: 44.38 kB / 402.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001663/0.2679, allocations: 0.9053 MB / 403.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001444/0.2694, allocations: 1.099 MB / 404.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004021/0.2698, allocations: 260.6 kB / 404.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004809/0.2703, allocations: 424.6 kB / 404.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Backend: time 2.6e-07/0.2703, allocations: 1.344 kB / 404.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.2716, allocations: 0.5993 MB / 405.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of SimCode: time 0.002363/0.274, allocations: 1.887 MB / 407.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of Templates: time 0.01636/0.2904, allocations: 10.16 MB / 417.6 MB, free: 4.168 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