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.00117/0.00117, allocations: 106.9 kB / 17.58 MB, free: 5.559 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.001202/0.001203, allocations: 192 kB / 18.51 MB, free: 4.641 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.366/1.366, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001392/0.001392, allocations: 55.92 kB / 280.7 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.08772, allocations: 46.63 MB / 327.3 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005849/0.09362, allocations: 4.499 MB / 331.8 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.09608, allocations: 1.27 MB / 333.1 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005674/0.09667, allocations: 19.88 kB / 333.1 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.0972, allocations: 162.7 kB / 333.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.09841, allocations: 350 kB / 333.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.09894, allocations: 195.7 kB / 333.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.1006, allocations: 1.611 MB / 335.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.1017, allocations: 0.9299 MB / 336.3 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007302/0.1024, allocations: 0.6697 MB / 337 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009175/0.1033, allocations: 0.8484 MB / 337.8 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.1035, allocations: 176 kB / 338 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.1038, allocations: 176 kB / 338.2 MB, free: 9.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.1042, allocations: 470.7 kB / 338.6 MB, free: 9.039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007188/0.1049, allocations: 0.7933 MB / 339.4 MB, free: 8.242 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.1066, allocations: 2.204 MB / 341.6 MB, free: 6.031 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1066, allocations: 3.938 kB / 341.6 MB, free: 6.027 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1066, allocations: 0 / 341.6 MB, free: 6.027 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.834e-05/0.1066, allocations: 4 kB / 341.6 MB, free: 6.023 MB / 286.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.003172/0.1098, allocations: 1.755 MB / 343.4 MB, free: 4.211 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1099, allocations: 12.03 kB / 343.4 MB, free: 4.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.1101, allocations: 147.2 kB / 343.6 MB, free: 4.055 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.1115, allocations: 0.9267 MB / 344.5 MB, free: 3.082 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.1116, allocations: 78.41 kB / 344.6 MB, free: 3.004 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.1117, allocations: 104.1 kB / 344.7 MB, free: 2.902 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.1141, allocations: 1.545 MB / 346.2 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.1141, allocations: 3.906 kB / 346.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.1142, allocations: 40 kB / 346.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/0.1143, allocations: 46.03 kB / 346.3 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.1165, allocations: 1.429 MB / 347.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006593/0.1231, allocations: 4.918 MB / 352.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.1248, allocations: 1.453 MB / 354.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.126, allocations: 0.7234 MB / 354.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.1261, allocations: 12.5 kB / 354.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008965/0.127, allocations: 0.6161 MB / 355.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 4.067e-06/0.127, allocations: 3.984 kB / 355.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005331/0.1323, allocations: 2.415 MB / 357.9 MB, free: 5.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.1324, allocations: 89.77 kB / 358 MB, free: 5.172 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.1336, allocations: 0.9344 MB / 358.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.1337, allocations: 37.7 kB / 358.9 MB, free: 4.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.1341, allocations: 0.5269 MB / 359.4 MB, free: 3.645 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.1343, allocations: 228.6 kB / 359.7 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.1345, allocations: 138.7 kB / 359.8 MB, free: 3.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1346, allocations: 326 kB / 360.1 MB, free: 2.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/0.1353, allocations: 413.7 kB / 360.5 MB, free: 2.547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00078/0.1361, allocations: 0.5601 MB / 361.1 MB, free: 1.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.1375, allocations: 0.9465 MB / 362 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1375, allocations: 4 kB / 362 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002118/0.1396, allocations: 1.284 MB / 363.3 MB, free: 15.63 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1396, allocations: 11.98 kB / 363.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1396, allocations: 4 kB / 363.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008379/0.1405, allocations: 402.6 kB / 363.7 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.141, allocations: 111.8 kB / 363.8 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005361/0.1463, allocations: 4.505 MB / 368.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/0.147, allocations: 75.39 kB / 368.4 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.147, allocations: 35.92 kB / 368.5 MB, free: 10.36 MB / 318.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.0006902/0.1477, allocations: 491.2 kB / 368.9 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.1479, allocations: 102.8 kB / 369 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.1481, allocations: 112.5 kB / 369.1 MB, free: 9.656 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.1481, allocations: 8 kB / 369.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1481, allocations: 0 / 369.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.1481, allocations: 3.984 kB / 369.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.1518, allocations: 2.585 MB / 371.7 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1518, allocations: 0 / 371.7 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/0.1523, allocations: 91.98 kB / 371.8 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007473/0.153, allocations: 397.2 kB / 372.2 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.1531, allocations: 11.98 kB / 372.2 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005092/0.1582, allocations: 4.474 MB / 376.7 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1582, allocations: 3.938 kB / 376.7 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1327/0.2909, allocations: 1.949 MB / 378.7 MB, free: 53.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/0.2915, allocations: 280.4 kB / 378.9 MB, free: 53.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.2917, allocations: 17.88 kB / 378.9 MB, free: 53.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.2922, allocations: 44.53 kB / 379 MB, free: 53.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.2924, allocations: 77.55 kB / 379.1 MB, free: 53.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.2925, allocations: 21.7 kB / 379.1 MB, free: 53.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008206/0.2933, allocations: 0.6708 MB / 379.8 MB, free: 52.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2933, allocations: 0 / 379.8 MB, free: 52.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009786/0.2943, allocations: 346.4 kB / 380.1 MB, free: 52.95 MB / 318.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.0001814/0.2945, allocations: 125.2 kB / 380.2 MB, free: 52.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002427/0.2969, allocations: 1.442 MB / 381.7 MB, free: 52.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2969, allocations: 1.281 kB / 381.7 MB, free: 52.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.298, allocations: 0.8132 MB / 382.5 MB, free: 52.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.2991, allocations: 254.3 kB / 382.7 MB, free: 52.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.3032, allocations: 2.614 MB / 385.3 MB, free: 51.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000882/0.3042, allocations: 1.391 MB / 386.7 MB, free: 50.63 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005442/0.3047, allocations: 165.7 kB / 386.9 MB, free: 50.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.3049, allocations: 57.34 kB / 386.9 MB, free: 50.62 MB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3049, allocations: 2.812 kB / 387 MB, free: 50.62 MB / 318.1 MB Notification: Performance of Templates: time 0.02592/0.3308, allocations: 18.23 MB / 405.2 MB, free: 38.71 MB / 318.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