Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.0008186/0.0008186, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003345/0.003345, allocations: 157.2 kB / 24.7 MB, free: 9.422 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.8341/0.8341, allocations: 177 MB / 204.9 MB, free: 5.75 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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 4 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.214e-05, allocations: 3.125 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003134/0.003156, allocations: 3.234 MB / 329 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.004179, allocations: 0.8958 MB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.004314, allocations: 11.94 kB / 329.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.004469, allocations: 71.23 kB / 330 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.004693, allocations: 134.8 kB / 330.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.004961, allocations: 171.6 kB / 330.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.005316, allocations: 0.5444 MB / 330.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.005509, allocations: 118.3 kB / 331 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.005775, allocations: 315.2 kB / 331.3 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.005952, allocations: 159.5 kB / 331.4 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.005995, allocations: 48 kB / 331.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.006062, allocations: 48 kB / 331.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.006123, allocations: 107.6 kB / 331.6 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.006228, allocations: 163.5 kB / 331.8 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.006617, allocations: 0.549 MB / 332.3 MB, free: 8.809 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00662, allocations: 0 / 332.3 MB, free: 8.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006621, allocations: 0 / 332.3 MB, free: 8.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.006626, allocations: 0 / 332.3 MB, free: 8.809 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008554/0.007482, allocations: 0.7814 MB / 333.1 MB, free: 7.984 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.007514, allocations: 11.98 kB / 333.1 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.007675, allocations: 68.62 kB / 333.2 MB, free: 7.906 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.007993, allocations: 310.4 kB / 333.5 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.008012, allocations: 25.38 kB / 333.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.008052, allocations: 44.31 kB / 333.6 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.008716, allocations: 414.2 kB / 334 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.00873, allocations: 192 / 334 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.008758, allocations: 20.12 kB / 334 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.008766, allocations: 12 kB / 334 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.009071, allocations: 259.8 kB / 334.3 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.01024, allocations: 1.299 MB / 335.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.01051, allocations: 207.5 kB / 335.8 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.01074, allocations: 153.2 kB / 335.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.01076, allocations: 4.234 kB / 335.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/0.01101, allocations: 263.7 kB / 336.2 MB, free: 4.766 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.01102, allocations: 0 / 336.2 MB, free: 4.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008601/0.01188, allocations: 0.4948 MB / 336.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.01193, allocations: 118.8 kB / 336.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.01214, allocations: 304.5 kB / 337.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.01216, allocations: 29.7 kB / 337.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.01226, allocations: 224.7 kB / 337.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.01232, allocations: 107.1 kB / 337.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.01239, allocations: 70.06 kB / 337.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.01248, allocations: 346.8 kB / 337.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.01261, allocations: 92.75 kB / 337.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.01278, allocations: 251.1 kB / 338.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.01306, allocations: 323.9 kB / 338.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01307, allocations: 0 / 338.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004226/0.01349, allocations: 409.7 kB / 338.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.0135, allocations: 7.938 kB / 338.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01351, allocations: 4.5 kB / 338.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/0.01371, allocations: 84.86 kB / 339 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.01384, allocations: 67.83 kB / 339.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.01529, allocations: 1.853 MB / 340.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.01541, allocations: 43.84 kB / 341 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.01543, allocations: 19.92 kB / 341 MB, free: 15.66 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: 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.000141/0.01557, allocations: 165.7 kB / 341.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.0156, allocations: 35.81 kB / 341.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.01564, allocations: 35.86 kB / 341.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01565, allocations: 4 kB / 341.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01565, allocations: 3.938 kB / 341.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01565, allocations: 4.172 kB / 341.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.01601, allocations: 458.8 kB / 341.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01601, allocations: 7.938 kB / 341.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.519e-05/0.0161, allocations: 35.92 kB / 341.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001348/0.01624, allocations: 72.81 kB / 341.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.01625, allocations: 15.92 kB / 341.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.01729, allocations: 1.849 MB / 343.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01729, allocations: 0 / 343.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.01782, allocations: 0.4996 MB / 344.1 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.0179, allocations: 59.75 kB / 344.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.01792, allocations: 12.06 kB / 344.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.018, allocations: 11.98 kB / 344.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.01805, allocations: 27.95 kB / 344.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.01806, allocations: 8 kB / 344.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.01819, allocations: 211.1 kB / 344.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01819, allocations: 0 / 344.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.01848, allocations: 123.7 kB / 344.6 MB, free: 11.87 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: 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 9.569e-05/0.01857, allocations: 115.2 kB / 344.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000454/0.01903, allocations: 410.3 kB / 345.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01903, allocations: 0 / 345.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.01925, allocations: 283.3 kB / 345.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.01947, allocations: 57.19 kB / 345.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007827/0.02025, allocations: 0.7178 MB / 346.2 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.02037, allocations: 203.1 kB / 346.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.02043, allocations: 36.42 kB / 346.4 MB, free: 9.977 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02043, allocations: 0 / 346.4 MB, free: 9.977 MB / 314.7 MB Notification: Performance of Templates: time 0.005513/0.02595, allocations: 6.235 MB / 352.6 MB, free: 3.766 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.522506534121931]