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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 163.4 kB / 25.02 MB, free: 8.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.386e-05, allocations: 2.312 kB / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006186/0.00622, allocations: 3.586 MB / 254 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.008469, allocations: 1.029 MB / 255 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.008673, allocations: 19.88 kB / 255 MB, free: 3.137 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.008999, allocations: 111.1 kB / 255.1 MB, free: 3.027 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007827/0.009782, allocations: 254.3 kB / 255.4 MB, free: 2.777 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.01014, allocations: 143.6 kB / 255.5 MB, free: 2.637 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.01138, allocations: 0.9958 MB / 256.5 MB, free: 1.637 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009488/0.01233, allocations: 306.9 kB / 256.8 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008973/0.01322, allocations: 0.5886 MB / 257.4 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008982/0.01412, allocations: 470.9 kB / 257.9 MB, free: 280 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.01428, allocations: 100 kB / 258 MB, free: 180 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.01447, allocations: 100 kB / 258.1 MB, free: 80 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003699/0.01484, allocations: 291.1 kB / 258.4 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000449/0.01529, allocations: 327.3 kB / 258.7 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.01689, allocations: 1.301 MB / 260 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.0169, allocations: 3.938 kB / 260 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.0169, allocations: 0 / 260 MB, free: 14.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.01691, allocations: 0 / 260 MB, free: 14.16 MB / 250.7 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.003054/0.01997, allocations: 1.661 MB / 261.6 MB, free: 12.45 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.02001, allocations: 15.98 kB / 261.7 MB, free: 12.44 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.02029, allocations: 152.3 kB / 261.8 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.02136, allocations: 0.5033 MB / 262.3 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/0.02142, allocations: 53.67 kB / 262.4 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.02154, allocations: 68.31 kB / 262.4 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.02329, allocations: 0.9226 MB / 263.3 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.02332, allocations: 3.953 kB / 263.4 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.862e-05/0.02341, allocations: 31.98 kB / 263.4 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-05/0.02346, allocations: 29.31 kB / 263.4 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.02502, allocations: 0.6843 MB / 264.1 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00503/0.03005, allocations: 2.874 MB / 267 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008905/0.03094, allocations: 460 kB / 267.4 MB, free: 6.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005711/0.03151, allocations: 264.2 kB / 267.7 MB, free: 6.238 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.03156, allocations: 12.33 kB / 267.7 MB, free: 6.227 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007467/0.0323, allocations: 397.8 kB / 268.1 MB, free: 5.805 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 2.305e-06/0.0323, allocations: 0 / 268.1 MB, free: 5.805 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.002982/0.03529, allocations: 1.023 MB / 269.1 MB, free: 4.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.03539, allocations: 122.5 kB / 269.2 MB, free: 4.625 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009571/0.03635, allocations: 0.6627 MB / 269.9 MB, free: 3.945 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.0364, allocations: 33.7 kB / 269.9 MB, free: 3.906 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.03691, allocations: 435.4 kB / 270.3 MB, free: 3.477 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.0371, allocations: 162.8 kB / 270.5 MB, free: 3.316 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.03733, allocations: 103.8 kB / 270.6 MB, free: 3.207 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.001076/0.0384, allocations: 0.5898 MB / 271.2 MB, free: 2.605 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.03881, allocations: 176.9 kB / 271.4 MB, free: 2.434 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.03944, allocations: 416.4 kB / 271.8 MB, free: 1.938 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000948/0.04038, allocations: 0.5409 MB / 272.3 MB, free: 1.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.04039, allocations: 4 kB / 272.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001416/0.04181, allocations: 0.6796 MB / 273 MB, free: 0.625 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.04183, allocations: 8 kB / 273 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.04185, allocations: 4 kB / 273 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005894/0.04244, allocations: 204 kB / 273.2 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.0428, allocations: 75.88 kB / 273.3 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004431/0.04723, allocations: 3.282 MB / 276.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.04764, allocations: 47.7 kB / 276.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.04768, allocations: 20 kB / 276.6 MB, free: 12.87 MB / 266.7 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[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].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.0005247/0.04821, allocations: 336.2 kB / 277 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.04833, allocations: 71.62 kB / 277 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.0485, allocations: 57.2 kB / 277.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.0485, allocations: 8 kB / 277.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.0485, allocations: 0 / 277.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.04851, allocations: 3.984 kB / 277.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.05159, allocations: 1.567 MB / 278.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.05159, allocations: 4 kB / 278.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.05184, allocations: 43.91 kB / 278.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004715/0.05231, allocations: 179.6 kB / 278.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/0.05236, allocations: 7.984 kB / 278.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/0.05631, allocations: 3.188 MB / 282.1 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.05631, allocations: 0 / 282.1 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.05824, allocations: 0.9808 MB / 283.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/0.05857, allocations: 111.5 kB / 283.2 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.05864, allocations: 4 kB / 283.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.05892, allocations: 27.97 kB / 283.2 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.05907, allocations: 59.69 kB / 283.3 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.05911, allocations: 11.98 kB / 283.3 MB, free: 6.004 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006467/0.05975, allocations: 438.7 kB / 283.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05975, allocations: 0 / 283.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007931/0.06055, allocations: 207.5 kB / 283.9 MB, free: 5.375 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * 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.0001858/0.06073, allocations: 111.2 kB / 284 MB, free: 5.258 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.06213, allocations: 0.716 MB / 284.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.06213, allocations: 4 kB / 284.7 MB, free: 4.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009429/0.06307, allocations: 493.8 kB / 285.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/0.06382, allocations: 153.9 kB / 285.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.06675, allocations: 1.408 MB / 286.8 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.06732, allocations: 453.7 kB / 287.2 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.06756, allocations: 72.62 kB / 287.3 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.06767, allocations: 48.5 kB / 287.3 MB, free: 1.828 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.06768, allocations: 0 / 287.3 MB, free: 1.828 MB / 266.7 MB Notification: Performance of Templates: time 0.02012/0.0878, allocations: 9.607 MB / 296.9 MB, free: 8.262 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.727223098976538]