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.001291/0.001291, allocations: 104 kB / 17.72 MB, free: 5.242 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.001313/0.001313, allocations: 188.1 kB / 18.66 MB, free: 4.312 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.62/1.62, allocations: 205.1 MB / 224.5 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.001584/0.001584, allocations: 51.92 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1231, allocations: 46.61 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006431/0.1295, allocations: 3.624 MB / 378.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2274/0.357, allocations: 1.041 MB / 379.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005946/0.3576, allocations: 15.03 kB / 379.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.358, allocations: 104.6 kB / 379.9 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008243/0.3589, allocations: 221.6 kB / 380.2 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.3592, allocations: 150.9 kB / 380.3 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009673/0.3602, allocations: 0.9568 MB / 381.3 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007708/0.361, allocations: 0.5633 MB / 381.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006311/0.3616, allocations: 405.7 kB / 382.2 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/0.3624, allocations: 493.7 kB / 382.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.3626, allocations: 99.22 kB / 382.8 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.3628, allocations: 98.88 kB / 382.9 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.3631, allocations: 275.2 kB / 383.2 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.3635, allocations: 475 kB / 383.6 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.365, allocations: 1.272 MB / 384.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.365, allocations: 4 kB / 384.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.365, allocations: 0 / 384.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.365, allocations: 1.344 kB / 384.9 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.002295/0.3673, allocations: 1.153 MB / 386.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.3674, allocations: 8.312 kB / 386.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.3676, allocations: 93.42 kB / 386.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/0.3685, allocations: 0.6026 MB / 386.8 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.3686, allocations: 53.67 kB / 386.8 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.3687, allocations: 70.27 kB / 386.9 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.3706, allocations: 0.9055 MB / 387.8 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.3707, allocations: 1.094 kB / 387.8 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-05/0.3707, allocations: 29.81 kB / 387.8 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-05/0.3708, allocations: 32.75 kB / 387.8 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.3723, allocations: 0.7879 MB / 388.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004655/0.3769, allocations: 2.752 MB / 391.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.378, allocations: 0.7473 MB / 392.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000625/0.3786, allocations: 339 kB / 392.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.3787, allocations: 10.19 kB / 392.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008251/0.3795, allocations: 377.1 kB / 392.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 3.877e-06/0.3795, allocations: 0 / 392.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.003141/0.3827, allocations: 1.187 MB / 394 MB, free: 3.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.3828, allocations: 113.1 kB / 394.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009389/0.3837, allocations: 0.5663 MB / 394.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.3838, allocations: 37.5 kB / 394.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.3841, allocations: 351.9 kB / 395.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.3842, allocations: 136 kB / 395.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.3844, allocations: 92.78 kB / 395.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3845, allocations: 373.9 kB / 395.7 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.3849, allocations: 217.5 kB / 395.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/0.3854, allocations: 359.4 kB / 396.2 MB, free: 2.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008415/0.3862, allocations: 0.5646 MB / 396.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/0.3863, allocations: 3.328 kB / 396.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001192/0.3875, allocations: 0.7555 MB / 397.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3875, allocations: 7.375 kB / 397.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3875, allocations: 4.125 kB / 397.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005251/0.388, allocations: 204.6 kB / 397.8 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.3884, allocations: 75.09 kB / 397.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.3919, allocations: 2.933 MB / 400.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.3923, allocations: 55.44 kB / 400.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.3924, allocations: 19.16 kB / 400.9 MB, free: 15.54 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.000571/0.393, allocations: 331.5 kB / 401.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3931, allocations: 54.97 kB / 401.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.3933, allocations: 70.89 kB / 401.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3933, allocations: 5.875 kB / 401.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3933, allocations: 0 / 401.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.3933, allocations: 1.344 kB / 401.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.396, allocations: 1.628 MB / 402.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.396, allocations: 1.312 kB / 402.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.3963, allocations: 50.72 kB / 403 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/0.3968, allocations: 192.2 kB / 403.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.3968, allocations: 10.64 kB / 403.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003352/0.4002, allocations: 2.914 MB / 406.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4002, allocations: 0 / 406.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.4019, allocations: 1.103 MB / 407.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.4022, allocations: 197.4 kB / 407.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.4024, allocations: 14.7 kB / 407.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.4027, allocations: 24.16 kB / 407.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.4028, allocations: 47.8 kB / 407.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.4029, allocations: 13.91 kB / 407.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005213/0.4034, allocations: 416.3 kB / 407.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4034, allocations: 4 kB / 407.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008059/0.4042, allocations: 201.3 kB / 408.1 MB, free: 10.38 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.0001527/0.4044, allocations: 120.7 kB / 408.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.4058, allocations: 0.7348 MB / 409 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4058, allocations: 0 / 409 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007836/0.4066, allocations: 471.9 kB / 409.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007657/0.4074, allocations: 152.2 kB / 409.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.4105, allocations: 1.494 MB / 411.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009016/0.4114, allocations: 1.069 MB / 412.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003142/0.4117, allocations: 96.31 kB / 412.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.4119, allocations: 40.25 kB / 412.3 MB, free: 7.641 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4119, allocations: 0 / 412.3 MB, free: 7.641 MB / 334.1 MB Notification: Performance of Templates: time 0.0184/0.4303, allocations: 10.14 MB / 422.4 MB, free: 14.45 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/jenkins/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/jenkins/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