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.0008618/0.0008618, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009367/0.0009367, allocations: 161 kB / 25.45 MB, free: 9.348 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 0.8488/0.8488, allocations: 158.6 MB / 187.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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 1.213e-06/1.213e-06, allocations: 0 / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.797e-05, allocations: 6.281 kB / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003388/0.003406, allocations: 3.352 MB / 303.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.004527, allocations: 1.014 MB / 304.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.00467, allocations: 19.81 kB / 304.1 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.004864, allocations: 107.1 kB / 304.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005164/0.00538, allocations: 254.3 kB / 304.5 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.005552, allocations: 151.6 kB / 304.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005909/0.006143, allocations: 0.9803 MB / 305.6 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.006462, allocations: 318.8 kB / 305.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.006835, allocations: 0.5769 MB / 306.5 MB, free: 84 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.007252, allocations: 446.9 kB / 306.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.453e-05/0.007326, allocations: 100 kB / 307 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.059e-05/0.007407, allocations: 104 kB / 307.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.007551, allocations: 287.1 kB / 307.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.007749, allocations: 319.3 kB / 307.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000735/0.008484, allocations: 1.301 MB / 309 MB, free: 13.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.008487, allocations: 4 kB / 309 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.008488, allocations: 0 / 309 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.008496, allocations: 0 / 309 MB, free: 13.54 MB / 298.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.001279/0.009775, allocations: 1.283 MB / 310.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.009807, allocations: 11.98 kB / 310.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.009908, allocations: 96.33 kB / 310.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.01046, allocations: 0.5435 MB / 310.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.01049, allocations: 49.69 kB / 311 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.01055, allocations: 72.31 kB / 311.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.01145, allocations: 0.9361 MB / 312 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.01147, allocations: 4 kB / 312 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.01152, allocations: 20 kB / 312 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.01155, allocations: 37.3 kB / 312.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007998/0.01235, allocations: 0.7858 MB / 312.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.01445, allocations: 2.407 MB / 315.3 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.01495, allocations: 499.4 kB / 315.7 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.0153, allocations: 321.2 kB / 316.1 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.01532, allocations: 4.328 kB / 316.1 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003784/0.0157, allocations: 399.3 kB / 316.5 MB, free: 5.891 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.433e-06/0.0157, allocations: 0 / 316.5 MB, free: 5.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001547/0.01725, allocations: 1.129 MB / 317.6 MB, free: 4.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.0173, allocations: 122.8 kB / 317.7 MB, free: 4.605 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.0177, allocations: 0.5409 MB / 318.2 MB, free: 4.055 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.01773, allocations: 41.64 kB / 318.3 MB, free: 4.008 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.0179, allocations: 352.6 kB / 318.6 MB, free: 3.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.01797, allocations: 150.8 kB / 318.8 MB, free: 3.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.008e-05/0.01806, allocations: 90.14 kB / 318.9 MB, free: 3.414 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.01816, allocations: 370.7 kB / 319.2 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.01838, allocations: 216.8 kB / 319.4 MB, free: 2.832 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.01866, allocations: 378.9 kB / 319.8 MB, free: 2.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005257/0.01919, allocations: 0.5691 MB / 320.4 MB, free: 1.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.01919, allocations: 0 / 320.4 MB, free: 1.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007341/0.01993, allocations: 0.74 MB / 321.1 MB, free: 1.023 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.01994, allocations: 7.938 kB / 321.1 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01994, allocations: 4 kB / 321.1 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/0.02025, allocations: 200.7 kB / 321.3 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.02042, allocations: 79.83 kB / 321.4 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.02244, allocations: 2.771 MB / 324.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.0226, allocations: 55.73 kB / 324.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.02262, allocations: 20 kB / 324.2 MB, free: 13.79 MB / 314.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.0002404/0.02286, allocations: 329.4 kB / 324.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.0229, allocations: 59.62 kB / 324.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.02298, allocations: 73.12 kB / 324.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.02298, allocations: 4 kB / 324.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.02298, allocations: 0 / 324.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.02298, allocations: 0 / 324.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.02427, allocations: 1.433 MB / 326.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.02427, allocations: 4 kB / 326.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.02439, allocations: 51.89 kB / 326.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/0.02463, allocations: 192.9 kB / 326.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.02465, allocations: 11.98 kB / 326.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.02643, allocations: 2.766 MB / 329.2 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.02644, allocations: 4.031 kB / 329.2 MB, free: 8.707 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009776/0.02742, allocations: 1.1 MB / 330.3 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.02756, allocations: 107.6 kB / 330.4 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.0276, allocations: 15.98 kB / 330.4 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.02773, allocations: 23.97 kB / 330.4 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.02781, allocations: 43.92 kB / 330.4 MB, free: 7.395 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.02783, allocations: 15.98 kB / 330.5 MB, free: 7.379 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002819/0.02811, allocations: 402.8 kB / 330.9 MB, free: 6.988 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02811, allocations: 4 kB / 330.9 MB, free: 6.984 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004111/0.02852, allocations: 211.5 kB / 331.1 MB, free: 6.777 MB / 314.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.0001165/0.02864, allocations: 115.2 kB / 331.2 MB, free: 6.656 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007662/0.02941, allocations: 0.7092 MB / 331.9 MB, free: 5.934 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.02941, allocations: 4 kB / 331.9 MB, free: 5.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003968/0.02981, allocations: 455.1 kB / 332.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.03019, allocations: 142.6 kB / 332.5 MB, free: 5.332 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.03177, allocations: 1.508 MB / 334 MB, free: 3.785 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.03206, allocations: 473.7 kB / 334.4 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.03213, allocations: 40.5 kB / 334.5 MB, free: 3.258 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03214, allocations: 0 / 334.5 MB, free: 3.258 MB / 314.7 MB Notification: Performance of Templates: time 0.009446/0.04158, allocations: 12.99 MB / 347.5 MB, free: 6.25 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] 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: 5.027511190623045]