Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.001388/0.001388, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001693/0.001693, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.042/1.042, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.99e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005171/0.005201, allocations: 3.492 MB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.007267, allocations: 0.9074 MB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.007527, allocations: 7.938 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.00783, allocations: 71.3 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.008225, allocations: 138.7 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.008686, allocations: 163.6 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006483/0.009334, allocations: 0.5406 MB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.009613, allocations: 122.3 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000539/0.01015, allocations: 303.3 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.01047, allocations: 171.4 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.488e-05/0.01053, allocations: 48 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.92e-05/0.01063, allocations: 48 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.082e-05/0.01071, allocations: 111.6 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.01087, allocations: 163.5 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.01131, allocations: 350.7 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.01132, allocations: 0 / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01132, allocations: 0 / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.01133, allocations: 0 / 279.6 MB, free: 10.89 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001139/0.01247, allocations: 0.8898 MB / 280.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.01252, allocations: 12.02 kB / 280.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.01278, allocations: 96.59 kB / 280.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.01315, allocations: 296.3 kB / 280.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.01317, allocations: 29.38 kB / 280.9 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.01323, allocations: 40.38 kB / 281 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.01367, allocations: 354.2 kB / 281.3 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.01369, allocations: 4.125 kB / 281.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.01372, allocations: 20.12 kB / 281.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.01374, allocations: 8 kB / 281.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.01396, allocations: 129.9 kB / 281.5 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.01548, allocations: 1.467 MB / 282.9 MB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.01576, allocations: 171.9 kB / 283.1 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.01596, allocations: 124 kB / 283.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.01598, allocations: 4.234 kB / 283.2 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.01624, allocations: 213.9 kB / 283.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.736e-06/0.01624, allocations: 0 / 283.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008477/0.01709, allocations: 409.5 kB / 283.8 MB, free: 6.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.01716, allocations: 110.8 kB / 283.9 MB, free: 6.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.01742, allocations: 342.2 kB / 284.3 MB, free: 5.926 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.01745, allocations: 33.7 kB / 284.3 MB, free: 5.887 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.01759, allocations: 275.4 kB / 284.6 MB, free: 5.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.01765, allocations: 103.1 kB / 284.7 MB, free: 5.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.01774, allocations: 71.77 kB / 284.7 MB, free: 5.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.01788, allocations: 0.5196 MB / 285.3 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.01796, allocations: 40.72 kB / 285.3 MB, free: 4.859 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.01813, allocations: 264.1 kB / 285.6 MB, free: 4.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.01839, allocations: 301.2 kB / 285.9 MB, free: 4.152 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.0184, allocations: 4 kB / 285.9 MB, free: 4.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003964/0.01879, allocations: 324.7 kB / 286.2 MB, free: 3.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.01881, allocations: 7.938 kB / 286.2 MB, free: 3.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.01882, allocations: 4 kB / 286.2 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.01903, allocations: 68.14 kB / 286.3 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.01919, allocations: 63.91 kB / 286.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.02055, allocations: 2.274 MB / 288.6 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.02069, allocations: 35.78 kB / 288.6 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.02072, allocations: 19.98 kB / 288.6 MB, free: 1.227 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: 11 (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_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.02085, allocations: 184.5 kB / 288.8 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.0209, allocations: 43.81 kB / 288.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.02094, allocations: 39.86 kB / 288.9 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.02095, allocations: 4 kB / 288.9 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.02095, allocations: 3.938 kB / 288.9 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02096, allocations: 3.984 kB / 288.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.02137, allocations: 0.4891 MB / 289.4 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.02138, allocations: 0 / 289.4 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.02147, allocations: 35.95 kB / 289.4 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.02162, allocations: 59.69 kB / 289.5 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.02164, allocations: 23.84 kB / 289.5 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.02279, allocations: 2.263 MB / 291.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02279, allocations: 0 / 291.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.02324, allocations: 380.9 kB / 292.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/0.02332, allocations: 55.67 kB / 292.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.02335, allocations: 11.98 kB / 292.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.02343, allocations: 12 kB / 292.2 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.0235, allocations: 27.95 kB / 292.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.02352, allocations: 12.02 kB / 292.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.02366, allocations: 235 kB / 292.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02366, allocations: 3.938 kB / 292.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003531/0.02402, allocations: 115.7 kB / 292.6 MB, free: 13.03 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001229/0.02414, allocations: 115.2 kB / 292.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004945/0.02463, allocations: 403.1 kB / 293.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02464, allocations: 0 / 293.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.02487, allocations: 301.2 kB / 293.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.02511, allocations: 53.81 kB / 293.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.02626, allocations: 0.6944 MB / 294.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.91e-05/0.02633, allocations: 108.6 kB / 294.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.001e-05/0.02641, allocations: 34.95 kB / 294.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.02647, allocations: 24.5 kB / 294.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.02647, allocations: 7.938 kB / 294.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of Templates: time 0.007317/0.03379, allocations: 4.861 MB / 299.2 MB, free: 6.469 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.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.8242391999810934]