Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.001412/0.001412, allocations: 184.2 kB / 18.66 MB, free: 4.414 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.473/1.473, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00205/0.00205, allocations: 55.94 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1118, allocations: 46.62 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005986/0.1178, allocations: 4.492 MB / 379.7 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2076/0.3254, allocations: 1.264 MB / 380.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004659/0.3259, allocations: 25.7 kB / 380.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.3263, allocations: 165.1 kB / 381.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.3274, allocations: 349.9 kB / 381.5 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.3279, allocations: 193.6 kB / 381.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002694/0.3306, allocations: 1.616 MB / 383.3 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.3322, allocations: 0.936 MB / 384.2 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.3336, allocations: 0.6761 MB / 384.9 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.335, allocations: 0.843 MB / 385.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.3352, allocations: 175.2 kB / 385.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.3356, allocations: 174 kB / 386.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004727/0.3361, allocations: 486.7 kB / 386.5 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009522/0.337, allocations: 0.7859 MB / 387.3 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002609/0.3396, allocations: 2.228 MB / 389.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3397, allocations: 2.062 kB / 389.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3397, allocations: 0 / 389.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.25e-05/0.3397, allocations: 0 / 389.5 MB, free: 6.641 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004135/0.3439, allocations: 1.765 MB / 391.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3439, allocations: 9.422 kB / 391.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/0.3443, allocations: 150 kB / 391.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.3458, allocations: 0.929 MB / 392.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.199e-05/0.3458, allocations: 78.97 kB / 392.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.346, allocations: 105.7 kB / 392.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.3488, allocations: 1.55 MB / 394.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.3489, allocations: 1.188 kB / 394.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.349, allocations: 45.14 kB / 394.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.256e-05/0.3491, allocations: 42.66 kB / 394.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.3517, allocations: 1.429 MB / 395.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006915/0.3586, allocations: 4.871 MB / 400.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.3603, allocations: 1.45 MB / 402 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.3618, allocations: 0.747 MB / 402.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.3618, allocations: 11.5 kB / 402.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/0.3629, allocations: 0.6118 MB / 403.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/0.3629, allocations: 0 / 403.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.006012/0.3689, allocations: 2.415 MB / 405.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.369, allocations: 86.95 kB / 405.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.3705, allocations: 0.9302 MB / 406.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.198e-05/0.3706, allocations: 41.61 kB / 406.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004889/0.3711, allocations: 0.525 MB / 407.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.3713, allocations: 229 kB / 407.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.3715, allocations: 135.1 kB / 407.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3717, allocations: 333.7 kB / 408 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/0.3723, allocations: 414 kB / 408.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007533/0.3731, allocations: 0.5487 MB / 409 MB, free: 11.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.3745, allocations: 0.949 MB / 409.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.3745, allocations: 2.031 kB / 409.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002251/0.3768, allocations: 1.293 MB / 411.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.3768, allocations: 10.17 kB / 411.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.3768, allocations: 11.66 kB / 411.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000932/0.3778, allocations: 398.8 kB / 411.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.3783, allocations: 118.4 kB / 411.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005644/0.384, allocations: 4.496 MB / 416.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009058/0.3849, allocations: 75.55 kB / 416.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.385, allocations: 27.98 kB / 416.3 MB, free: 4.977 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0009668/0.3859, allocations: 495.2 kB / 416.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.3861, allocations: 98.8 kB / 416.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.3864, allocations: 116.5 kB / 417 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.3864, allocations: 8 kB / 417 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3864, allocations: 3.938 kB / 417 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3864, allocations: 3.984 kB / 417 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003887/0.3903, allocations: 2.58 MB / 419.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.3903, allocations: 128 / 419.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.3908, allocations: 95.86 kB / 419.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007704/0.3916, allocations: 384.8 kB / 420.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/0.3916, allocations: 19.98 kB / 420.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005385/0.397, allocations: 4.473 MB / 424.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.397, allocations: 0 / 424.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.4001, allocations: 1.954 MB / 426.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/0.4007, allocations: 287.8 kB / 426.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.4008, allocations: 12 kB / 426.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/0.4013, allocations: 39.95 kB / 426.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/0.4015, allocations: 80.47 kB / 426.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.4016, allocations: 27.98 kB / 427 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.4026, allocations: 0.6669 MB / 427.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4026, allocations: 4 kB / 427.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001189/0.4038, allocations: 350.9 kB / 428 MB, free: 9.082 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002025/0.404, allocations: 127.6 kB / 428.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.4064, allocations: 1.284 MB / 429.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4064, allocations: 4.875 kB / 429.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.4077, allocations: 0.7986 MB / 430.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.409, allocations: 253 kB / 430.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005017/0.414, allocations: 2.602 MB / 433 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.4151, allocations: 1.384 MB / 434.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006194/0.4158, allocations: 167.3 kB / 434.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.416, allocations: 63.42 kB / 434.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.416, allocations: 4 kB / 434.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Templates: time 0.03418/0.4502, allocations: 18.44 MB / 453.1 MB, free: 15.86 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches