Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002497/0.002497, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00259/0.00259, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 173.3 MB / 200.8 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.572e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006833/0.006859, allocations: 4.49 MB / 271.8 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.009386, allocations: 1.207 MB / 273 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000305/0.009691, allocations: 31.75 kB / 273.1 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.01012, allocations: 178.6 kB / 273.2 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.01116, allocations: 373.5 kB / 273.6 MB, free: 440 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.01158, allocations: 207.6 kB / 273.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001942/0.01352, allocations: 1.653 MB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009692/0.01449, allocations: 0.5676 MB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.01583, allocations: 1.014 MB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.01718, allocations: 0.8262 MB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002801/0.01746, allocations: 176 kB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.01779, allocations: 176 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005632/0.01835, allocations: 0.5025 MB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000793/0.01915, allocations: 0.5456 MB / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.02181, allocations: 2.306 MB / 281.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.02181, allocations: 0 / 281.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02181, allocations: 0 / 281.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.02183, allocations: 0 / 281.6 MB, free: 8.41 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004877/0.02671, allocations: 2.63 MB / 284.2 MB, free: 5.723 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.02676, allocations: 8.922 kB / 284.2 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005462/0.02731, allocations: 240 kB / 284.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.02932, allocations: 0.8716 MB / 285.3 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-05/0.0294, allocations: 78.38 kB / 285.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.02959, allocations: 112.4 kB / 285.5 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.03249, allocations: 1.566 MB / 287.1 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.03253, allocations: 11.92 kB / 287.1 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.03265, allocations: 44 kB / 287.1 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/0.03271, allocations: 38.05 kB / 287.2 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.03521, allocations: 1.261 MB / 288.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1251/0.1603, allocations: 5.214 MB / 293.6 MB, free: 29.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.162, allocations: 0.8446 MB / 294.5 MB, free: 28.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.1632, allocations: 0.5986 MB / 295.1 MB, free: 28.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.018e-05/0.1632, allocations: 12.25 kB / 295.1 MB, free: 28.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009879/0.1642, allocations: 0.6058 MB / 295.7 MB, free: 28.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.896e-06/0.1642, allocations: 1.188 kB / 295.7 MB, free: 28.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.005741/0.17, allocations: 2.145 MB / 297.8 MB, free: 27.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.17, allocations: 91 kB / 297.9 MB, free: 27.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.1715, allocations: 1.05 MB / 299 MB, free: 27.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/0.1716, allocations: 43.84 kB / 299 MB, free: 27.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/0.172, allocations: 0.6372 MB / 299.7 MB, free: 26.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.1722, allocations: 261.4 kB / 299.9 MB, free: 26.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.1725, allocations: 169.8 kB / 300.1 MB, free: 26.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1726, allocations: 0.5299 MB / 300.6 MB, free: 25.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000566/0.1732, allocations: 328.6 kB / 300.9 MB, free: 25.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.1738, allocations: 0.5716 MB / 301.5 MB, free: 25.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.1751, allocations: 0.8694 MB / 302.4 MB, free: 24.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.1751, allocations: 5.281 kB / 302.4 MB, free: 24.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001999/0.1771, allocations: 1.147 MB / 303.5 MB, free: 24.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1771, allocations: 11.81 kB / 303.5 MB, free: 24.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.1771, allocations: 3.594 kB / 303.5 MB, free: 24.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008479/0.1779, allocations: 377.1 kB / 303.9 MB, free: 24.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.1784, allocations: 111.8 kB / 304 MB, free: 24.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004386/0.1828, allocations: 4.739 MB / 308.8 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.1833, allocations: 77.22 kB / 308.8 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.1834, allocations: 25.66 kB / 308.9 MB, free: 20.41 MB / 266.7 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_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.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) * 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.0005484/0.1839, allocations: 471.3 kB / 309.3 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.1841, allocations: 113.4 kB / 309.4 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.1843, allocations: 112.2 kB / 309.5 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1843, allocations: 4 kB / 309.5 MB, free: 19.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.1843, allocations: 4 kB / 309.5 MB, free: 19.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.1844, allocations: 11.92 kB / 309.6 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/0.1879, allocations: 2.397 MB / 311.9 MB, free: 17.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1879, allocations: 0.75 kB / 311.9 MB, free: 17.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.1883, allocations: 75.89 kB / 312 MB, free: 17.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006717/0.1889, allocations: 356.2 kB / 312.4 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.189, allocations: 13.56 kB / 312.4 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003959/0.193, allocations: 4.516 MB / 316.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.193, allocations: 0 / 316.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.195, allocations: 1.644 MB / 318.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004896/0.1955, allocations: 204.8 kB / 318.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.1957, allocations: 15.94 kB / 318.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.1961, allocations: 39.89 kB / 318.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.1963, allocations: 96.42 kB / 318.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.1964, allocations: 27.98 kB / 318.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007184/0.1971, allocations: 0.6629 MB / 319.6 MB, free: 9.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1971, allocations: 0 / 319.6 MB, free: 9.645 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000937/0.198, allocations: 347.5 kB / 319.9 MB, free: 9.324 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,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: 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.0001495/0.1982, allocations: 132.3 kB / 320.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.1999, allocations: 1.195 MB / 321.2 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1999, allocations: 7.938 kB / 321.3 MB, free: 7.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009745/0.2009, allocations: 0.7922 MB / 322 MB, free: 7.156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.2019, allocations: 242 kB / 322.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.2058, allocations: 2.446 MB / 324.7 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.2064, allocations: 0.7395 MB / 325.5 MB, free: 3.684 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003569/0.2068, allocations: 127.1 kB / 325.6 MB, free: 3.555 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.2069, allocations: 64.48 kB / 325.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2069, allocations: 0 / 325.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of Templates: time 0.03261/0.2396, allocations: 17.36 MB / 343 MB, free: 2.422 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.0788227749289945]