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.001172/0.001173, allocations: 111.9 kB / 18.37 MB, free: 4.723 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.001115/0.001115, allocations: 184.5 kB / 19.29 MB, free: 3.805 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.317/1.317, 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.001215/0.001215, allocations: 43.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08903/0.09025, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004835/0.09512, allocations: 3.625 MB / 379.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1712/0.2664, allocations: 1.048 MB / 380.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005624/0.267, allocations: 12.53 kB / 380.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.2674, allocations: 104.9 kB / 380.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008091/0.2682, allocations: 227.5 kB / 380.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.2685, allocations: 143.6 kB / 380.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009479/0.2695, allocations: 0.9624 MB / 381.9 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007155/0.2702, allocations: 0.5598 MB / 382.5 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006418/0.2709, allocations: 408.2 kB / 382.9 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007516/0.2716, allocations: 487.4 kB / 383.3 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.2718, allocations: 99.34 kB / 383.4 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.272, allocations: 98.97 kB / 383.5 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.2722, allocations: 277.5 kB / 383.8 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004524/0.2727, allocations: 472.9 kB / 384.3 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.2739, allocations: 1.274 MB / 385.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2739, allocations: 0 / 385.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2739, allocations: 0 / 385.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.274, allocations: 5.812 kB / 385.5 MB, free: 8.777 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.002033/0.276, allocations: 1.15 MB / 386.7 MB, free: 8.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2761, allocations: 9.875 kB / 386.7 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.2762, allocations: 92.25 kB / 386.8 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008278/0.2771, allocations: 0.6047 MB / 387.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/0.2771, allocations: 46.95 kB / 387.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.2772, allocations: 64.16 kB / 387.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.2787, allocations: 0.9154 MB / 388.4 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.2788, allocations: 0 / 388.4 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.2789, allocations: 28.3 kB / 388.4 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.616e-05/0.2789, allocations: 30.48 kB / 388.5 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.2802, allocations: 0.7877 MB / 389.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003769/0.284, allocations: 2.752 MB / 392 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008216/0.2849, allocations: 0.7448 MB / 392.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005946/0.2855, allocations: 346.2 kB / 393.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.2855, allocations: 8.422 kB / 393.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006276/0.2862, allocations: 385 kB / 393.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.645e-06/0.2862, allocations: 0 / 393.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.00279/0.289, allocations: 1.183 MB / 394.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.289, allocations: 110.5 kB / 394.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007627/0.2898, allocations: 0.5655 MB / 395.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.2899, allocations: 38.22 kB / 395.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/0.2902, allocations: 351.4 kB / 395.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.2903, allocations: 142.2 kB / 395.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.2904, allocations: 90.72 kB / 395.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.2905, allocations: 370.3 kB / 396.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.2909, allocations: 217.9 kB / 396.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.2913, allocations: 355.5 kB / 396.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007637/0.2921, allocations: 0.5655 MB / 397.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.2921, allocations: 1.531 kB / 397.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00116/0.2933, allocations: 0.7602 MB / 398.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2933, allocations: 10.91 kB / 398.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2933, allocations: 4.125 kB / 398.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000494/0.2938, allocations: 196.3 kB / 398.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.2942, allocations: 79.17 kB / 398.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/0.2971, allocations: 2.939 MB / 401.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.2975, allocations: 54.34 kB / 401.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.2976, allocations: 19.95 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.0005479/0.2981, allocations: 325.8 kB / 401.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-05/0.2982, allocations: 54.69 kB / 401.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.2984, allocations: 72.2 kB / 401.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2984, allocations: 4.219 kB / 401.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2984, allocations: 1.5 kB / 401.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2984, allocations: 3.984 kB / 401.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.3009, allocations: 1.621 MB / 403.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3009, allocations: 1.219 kB / 403.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.3011, allocations: 54.89 kB / 403.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/0.3016, allocations: 187.1 kB / 403.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.3016, allocations: 11.27 kB / 403.8 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003122/0.3048, allocations: 2.917 MB / 406.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.3048, allocations: 4 kB / 406.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.3065, allocations: 1.107 MB / 407.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.3069, allocations: 196.5 kB / 408 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.3069, allocations: 6.938 kB / 408 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.3072, allocations: 24.34 kB / 408.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.3074, allocations: 47.89 kB / 408.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.3074, allocations: 13.38 kB / 408.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005555/0.308, allocations: 424.8 kB / 408.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.308, allocations: 0 / 408.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008092/0.3088, allocations: 196.6 kB / 408.7 MB, free: 10.4 MB / 334.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.000165/0.309, allocations: 115.5 kB / 408.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.3103, allocations: 0.7375 MB / 409.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3103, allocations: 5.031 kB / 409.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000716/0.3111, allocations: 476.4 kB / 410 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007521/0.3118, allocations: 156 kB / 410.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.3145, allocations: 1.508 MB / 411.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/0.3152, allocations: 1.059 MB / 412.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.3153, allocations: 41.64 kB / 412.8 MB, free: 7.672 MB / 334.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3153, allocations: 1.375 kB / 412.8 MB, free: 7.672 MB / 334.1 MB Notification: Performance of Templates: time 0.01719/0.3325, allocations: 12.75 MB / 425.6 MB, free: 11.89 MB / 350.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