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.001788/0.001788, allocations: 94.08 kB / 20.69 MB, free: 1.016 MB / 14.72 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.002088/0.002088, allocations: 161.9 kB / 23.95 MB, free: 4.148 MB / 14.72 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 1.504/1.504, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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 2.164e-06/2.164e-06, allocations: 1.688 kB / 325 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.285e-05, allocations: 5.375 kB / 325 MB, free: 340 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005453/0.005486, allocations: 3.231 MB / 328.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.007542, allocations: 0.8971 MB / 329.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.007751, allocations: 10.38 kB / 329.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.008017, allocations: 76.89 kB / 329.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.008411, allocations: 136.3 kB / 329.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.008887, allocations: 162.6 kB / 329.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00074/0.009627, allocations: 0.5472 MB / 330.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.009955, allocations: 122.1 kB / 330.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00061/0.01056, allocations: 309.9 kB / 330.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.01092, allocations: 156.8 kB / 330.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.066e-05/0.01101, allocations: 45.88 kB / 330.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.01115, allocations: 53.12 kB / 330.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.0113, allocations: 102.3 kB / 330.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.01156, allocations: 172.3 kB / 331 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000744/0.0123, allocations: 0.5487 MB / 331.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.01231, allocations: 0 / 331.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.01231, allocations: 3.984 kB / 331.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.01232, allocations: 5.125 kB / 331.6 MB, free: 12.18 MB / 302.1 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.001627/0.01395, allocations: 0.7725 MB / 332.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.014, allocations: 17.38 kB / 332.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.0143, allocations: 69.23 kB / 332.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.0148, allocations: 295.6 kB / 332.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.01484, allocations: 32.95 kB / 332.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/0.01491, allocations: 45.27 kB / 332.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007297/0.01564, allocations: 418.2 kB / 333.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.01566, allocations: 1.531 kB / 333.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.0157, allocations: 19.53 kB / 333.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.01571, allocations: 17.36 kB / 333.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.01624, allocations: 257.7 kB / 333.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.01835, allocations: 1.287 MB / 334.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.01882, allocations: 226.2 kB / 335 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004008/0.01922, allocations: 156.8 kB / 335.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.01924, allocations: 3.922 kB / 335.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004506/0.0197, allocations: 249.5 kB / 335.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.654e-06/0.0197, allocations: 0 / 335.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.00154/0.02124, allocations: 0.4977 MB / 335.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.02133, allocations: 115.5 kB / 336 MB, free: 8.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.02167, allocations: 305.6 kB / 336.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.02171, allocations: 34.95 kB / 336.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.02192, allocations: 223 kB / 336.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.683e-05/0.02202, allocations: 108.2 kB / 336.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.02213, allocations: 68.17 kB / 336.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.02234, allocations: 342.2 kB / 337.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.02256, allocations: 93.8 kB / 337.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.02289, allocations: 248.2 kB / 337.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.02341, allocations: 320.1 kB / 337.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.02342, allocations: 5.312 kB / 337.7 MB, free: 7.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007858/0.0242, allocations: 413.6 kB / 338.1 MB, free: 7.219 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.02423, allocations: 11.25 kB / 338.2 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.02424, allocations: 4.281 kB / 338.2 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/0.02458, allocations: 82.45 kB / 338.2 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.02482, allocations: 59.34 kB / 338.3 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.02717, allocations: 1.873 MB / 340.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.02757, allocations: 35.77 kB / 340.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.02761, allocations: 19.94 kB / 340.2 MB, free: 5.23 MB / 302.1 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.0002545/0.02787, allocations: 161.8 kB / 340.4 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.02793, allocations: 35.75 kB / 340.4 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.988e-05/0.02802, allocations: 43.89 kB / 340.5 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.02802, allocations: 12.05 kB / 340.5 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.02803, allocations: 3.938 kB / 340.5 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.02804, allocations: 0 / 340.5 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006612/0.0287, allocations: 458.8 kB / 340.9 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.0287, allocations: 4 kB / 340.9 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.02889, allocations: 27.92 kB / 341 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/0.02913, allocations: 80.8 kB / 341 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.02916, allocations: 7.938 kB / 341 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.03128, allocations: 1.845 MB / 342.9 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.03129, allocations: 0 / 342.9 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.03234, allocations: 0.5036 MB / 343.4 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.03248, allocations: 55.75 kB / 343.4 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.03253, allocations: 8 kB / 343.4 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.03271, allocations: 15.98 kB / 343.5 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.03282, allocations: 24.14 kB / 343.5 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.03285, allocations: 15.98 kB / 343.5 MB, free: 1.766 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002401/0.03309, allocations: 211 kB / 343.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03309, allocations: 0 / 343.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005572/0.03365, allocations: 123.7 kB / 343.8 MB, free: 1.438 MB / 302.1 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.0001888/0.03383, allocations: 122.4 kB / 344 MB, free: 1.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008849/0.03472, allocations: 403.2 kB / 344.3 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.03472, allocations: 8.062 kB / 344.4 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.03514, allocations: 270.3 kB / 344.6 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.03549, allocations: 49.31 kB / 344.7 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.03697, allocations: 0.6965 MB / 345.4 MB, free: 15.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.03724, allocations: 211.3 kB / 345.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.03737, allocations: 30.97 kB / 345.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.03745, allocations: 28.5 kB / 345.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.03745, allocations: 3.938 kB / 345.6 MB, free: 15.55 MB / 318.1 MB Notification: Performance of Templates: time 0.01099/0.04844, allocations: 4.575 MB / 350.2 MB, free: 11.1 MB / 318.1 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.524336788803339]