Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001847/0.001847, allocations: 90.31 kB / 20.69 MB, free: 1.02 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.001947/0.001947, allocations: 157.5 kB / 23.95 MB, free: 4.145 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.598/1.598, allocations: 177 MB / 204.1 MB, free: 9.152 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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.59e-05, allocations: 6.25 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005583/0.005619, allocations: 3.442 MB / 328.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.008009, allocations: 0.9655 MB / 329.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.008261, allocations: 11.47 kB / 329.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.008535, allocations: 85.05 kB / 329.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004204/0.008956, allocations: 154.8 kB / 329.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.009451, allocations: 188.1 kB / 329.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000831/0.01028, allocations: 0.655 MB / 330.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.0106, allocations: 133.2 kB / 330.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006025/0.01121, allocations: 365.6 kB / 331 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.01156, allocations: 191.3 kB / 331.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.363e-05/0.01166, allocations: 56.69 kB / 331.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.01179, allocations: 58.53 kB / 331.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.01194, allocations: 125.2 kB / 331.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.01218, allocations: 186.3 kB / 331.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008737/0.01306, allocations: 0.6579 MB / 332.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.01306, allocations: 5.031 kB / 332.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01306, allocations: 4 kB / 332.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.01308, allocations: 0 / 332.3 MB, free: 11.79 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001799/0.01488, allocations: 0.8421 MB / 333.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.01494, allocations: 16.83 kB / 333.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.01525, allocations: 67.5 kB / 333.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006308/0.01588, allocations: 315.9 kB / 333.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.01592, allocations: 35.56 kB / 333.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.402e-05/0.01602, allocations: 40.97 kB / 333.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.01699, allocations: 489 kB / 334.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.01701, allocations: 1.625 kB / 334.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.01707, allocations: 24.06 kB / 334.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.01709, allocations: 10.56 kB / 334.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007033/0.01779, allocations: 323.7 kB / 334.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.02043, allocations: 1.626 MB / 336 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007813/0.02121, allocations: 345.6 kB / 336.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006662/0.02187, allocations: 260.9 kB / 336.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.02191, allocations: 8.391 kB / 336.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005494/0.02246, allocations: 292.8 kB / 336.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.405e-06/0.02247, allocations: 4 kB / 336.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002604/0.02507, allocations: 0.7697 MB / 337.7 MB, free: 7.941 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.02515, allocations: 82.8 kB / 337.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.02555, allocations: 307.7 kB / 338.1 MB, free: 7.645 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.0256, allocations: 36.11 kB / 338.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.02581, allocations: 228.1 kB / 338.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.02594, allocations: 143.3 kB / 338.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.02608, allocations: 87.73 kB / 338.6 MB, free: 7.215 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.02626, allocations: 346.5 kB / 338.9 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.02653, allocations: 123 kB / 339 MB, free: 6.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.02692, allocations: 285.8 kB / 339.3 MB, free: 6.426 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007138/0.02763, allocations: 390.5 kB / 339.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.02764, allocations: 0 / 339.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000974/0.02861, allocations: 0.501 MB / 340.2 MB, free: 5.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.02864, allocations: 8 kB / 340.2 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.02865, allocations: 4 kB / 340.2 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/0.02917, allocations: 149.2 kB / 340.4 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.02943, allocations: 67.84 kB / 340.4 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.03266, allocations: 2.382 MB / 342.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.03301, allocations: 43.77 kB / 342.8 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.03305, allocations: 20 kB / 342.9 MB, free: 2.711 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002973/0.03335, allocations: 180.8 kB / 343 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/0.03343, allocations: 43.75 kB / 343.1 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.03353, allocations: 48.3 kB / 343.1 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.03353, allocations: 4 kB / 343.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.03354, allocations: 0 / 343.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.03355, allocations: 7.922 kB / 343.1 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.03512, allocations: 0.8642 MB / 344 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.03512, allocations: 0 / 344 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.03531, allocations: 43.92 kB / 344 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/0.03573, allocations: 144.9 kB / 344.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.03576, allocations: 8 kB / 344.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003249/0.03901, allocations: 2.379 MB / 346.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.03901, allocations: 0 / 346.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.04031, allocations: 0.7036 MB / 347.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.04049, allocations: 71.7 kB / 347.3 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.04055, allocations: 11.98 kB / 347.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.04079, allocations: 16 kB / 347.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.0409, allocations: 39.7 kB / 347.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.04094, allocations: 23.88 kB / 347.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.04118, allocations: 215.1 kB / 347.6 MB, free: 13.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.04118, allocations: 0 / 347.6 MB, free: 13.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006727/0.04185, allocations: 147.7 kB / 347.8 MB, free: 13.6 MB / 318.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001781/0.04203, allocations: 123.1 kB / 347.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.04315, allocations: 0.533 MB / 348.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.04315, allocations: 0.9375 kB / 348.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005927/0.04375, allocations: 366.4 kB / 348.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.04424, allocations: 71.7 kB / 348.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.04597, allocations: 0.8457 MB / 349.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.04623, allocations: 232.8 kB / 349.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.04636, allocations: 35.36 kB / 350 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.04643, allocations: 28.5 kB / 350 MB, free: 11.3 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.04643, allocations: 0 / 350 MB, free: 11.3 MB / 318.1 MB Notification: Performance of Templates: time 0.01366/0.06009, allocations: 6.455 MB / 356.5 MB, free: 5.004 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.781610779464245]