Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009948/0.0009948, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 161.6 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9264/0.9264, allocations: 177 MB / 205.9 MB, free: 4.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 274.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.884e-05, allocations: 4.719 kB / 274.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004619/0.004638, allocations: 3.661 MB / 277.8 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.006264, allocations: 1.056 MB / 278.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.006485, allocations: 19.88 kB / 278.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.006688, allocations: 111.7 kB / 279 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005851/0.007273, allocations: 255.8 kB / 279.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.00755, allocations: 163.6 kB / 279.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007428/0.008293, allocations: 1.004 MB / 280.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003627/0.008656, allocations: 347.4 kB / 280.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005813/0.009237, allocations: 0.6081 MB / 281.3 MB, free: 13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000501/0.009738, allocations: 478.9 kB / 281.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.009841, allocations: 108 kB / 281.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.009972, allocations: 104 kB / 282 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.01016, allocations: 299.1 kB / 282.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.01041, allocations: 335.2 kB / 282.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006438/0.01106, allocations: 0.7787 MB / 283.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.01106, allocations: 0 / 283.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01106, allocations: 0 / 283.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.01107, allocations: 0 / 283.4 MB, free: 10.92 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001519/0.01259, allocations: 1.508 MB / 284.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.01262, allocations: 12.03 kB / 284.9 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/0.01292, allocations: 168.3 kB / 285.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.01344, allocations: 0.5196 MB / 285.6 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.01347, allocations: 45.69 kB / 285.7 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.01354, allocations: 76.34 kB / 285.7 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.01412, allocations: 0.5406 MB / 286.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.01413, allocations: 3.984 kB / 286.3 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.01418, allocations: 31.98 kB / 286.3 MB, free: 7.898 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.01421, allocations: 33.3 kB / 286.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.01449, allocations: 181 kB / 286.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.01649, allocations: 2.246 MB / 288.8 MB, free: 5.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.0168, allocations: 267 kB / 289 MB, free: 5.086 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.01698, allocations: 128.2 kB / 289.2 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.017, allocations: 4.328 kB / 289.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.01727, allocations: 253.9 kB / 289.4 MB, free: 4.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.775e-06/0.01727, allocations: 11.88 kB / 289.4 MB, free: 4.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001002/0.01827, allocations: 0.5168 MB / 289.9 MB, free: 4.133 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.01831, allocations: 110.8 kB / 290 MB, free: 4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.01866, allocations: 0.514 MB / 290.6 MB, free: 3.469 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.01869, allocations: 41.73 kB / 290.6 MB, free: 3.422 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.01891, allocations: 435.2 kB / 291 MB, free: 2.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.203e-05/0.019, allocations: 150.8 kB / 291.2 MB, free: 2.844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.0191, allocations: 103.7 kB / 291.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.01927, allocations: 0.5546 MB / 291.8 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.01934, allocations: 44.95 kB / 291.9 MB, free: 2.125 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.01951, allocations: 268.7 kB / 292.1 MB, free: 1.773 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.01976, allocations: 315.3 kB / 292.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.01976, allocations: 8 kB / 292.5 MB, free: 1.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004425/0.02021, allocations: 384.7 kB / 292.8 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.02022, allocations: 12.06 kB / 292.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.02023, allocations: 4 kB / 292.8 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000208/0.02043, allocations: 95.64 kB / 292.9 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.0206, allocations: 79.83 kB / 293 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.0221, allocations: 2.454 MB / 295.5 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.02225, allocations: 39.77 kB / 295.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.02227, allocations: 16 kB / 295.5 MB, free: 14.19 MB / 282.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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,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.0001513/0.02242, allocations: 200.4 kB / 295.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.02249, allocations: 75.56 kB / 295.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.519e-05/0.02255, allocations: 65.39 kB / 295.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.02256, allocations: 8 kB / 295.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.02256, allocations: 0 / 295.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.02256, allocations: 0 / 295.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009287/0.02349, allocations: 1.008 MB / 296.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.0235, allocations: 3.984 kB / 296.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.02361, allocations: 40.02 kB / 296.9 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/0.02378, allocations: 95.56 kB / 297 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.0238, allocations: 12 kB / 297 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.02514, allocations: 2.447 MB / 299.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.02514, allocations: 0 / 299.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/0.02564, allocations: 0.5357 MB / 300 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.02576, allocations: 95.56 kB / 300.1 MB, free: 9.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.02581, allocations: 11.98 kB / 300.1 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.02594, allocations: 16 kB / 300.1 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.02601, allocations: 43.86 kB / 300.2 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.02603, allocations: 8 kB / 300.2 MB, free: 9.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.02622, allocations: 322.7 kB / 300.5 MB, free: 9.016 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02622, allocations: 0 / 300.5 MB, free: 9.016 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004053/0.02662, allocations: 211.5 kB / 300.7 MB, free: 8.809 MB / 282.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_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,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.000113/0.02673, allocations: 119.9 kB / 300.8 MB, free: 8.684 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004711/0.02721, allocations: 469 kB / 301.3 MB, free: 8.207 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02721, allocations: 0 / 301.3 MB, free: 8.207 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.02748, allocations: 378 kB / 301.6 MB, free: 7.816 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.02788, allocations: 157.8 kB / 301.8 MB, free: 7.668 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.02936, allocations: 1.263 MB / 303.1 MB, free: 6.367 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.02952, allocations: 242.1 kB / 303.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.02964, allocations: 56.72 kB / 303.4 MB, free: 6.055 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.02988, allocations: 206.1 kB / 303.6 MB, free: 5.852 MB / 282.7 MB Notification: Performance of SimCode: time 6.62e-07/0.02988, allocations: 0 / 303.6 MB, free: 5.852 MB / 282.7 MB Notification: Performance of Templates: time 0.01191/0.04178, allocations: 10.54 MB / 314.1 MB, free: 11.53 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7873283131048083]