Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001436/0.001436, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.00201/0.00201, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 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.617/1.617, allocations: 230.6 MB / 258.2 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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.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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 51.91 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3406, allocations: 53.38 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006206/0.3468, allocations: 3.452 MB / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.3493, allocations: 0.9544 MB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.3496, allocations: 11.94 kB / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.3499, allocations: 79.17 kB / 436.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.3504, allocations: 150.7 kB / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.3509, allocations: 175.8 kB / 437.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008477/0.3517, allocations: 0.6225 MB / 437.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003956/0.3521, allocations: 148.6 kB / 437.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004422/0.3526, allocations: 247.1 kB / 438.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000385/0.353, allocations: 250.8 kB / 438.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.3531, allocations: 60 kB / 438.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.3532, allocations: 56 kB / 438.5 MB, free: 488 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3533, allocations: 131.5 kB / 438.7 MB, free: 356 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.3536, allocations: 215 kB / 438.9 MB, free: 140 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009018/0.3545, allocations: 0.6572 MB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3545, allocations: 4 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3545, allocations: 0 / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.3545, allocations: 0 / 439.5 MB, free: 15.48 MB / 350.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.001825/0.3564, allocations: 0.8515 MB / 440.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.3564, allocations: 16.03 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/0.3567, allocations: 64.59 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/0.3573, allocations: 319.1 kB / 440.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.3574, allocations: 37.38 kB / 440.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.3575, allocations: 40.38 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009137/0.3584, allocations: 491.2 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.3584, allocations: 7.938 kB / 441.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.3585, allocations: 19.98 kB / 441.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.3585, allocations: 12 kB / 441.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.3591, allocations: 319.8 kB / 441.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.3618, allocations: 1.623 MB / 443.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007703/0.3625, allocations: 347.9 kB / 443.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/0.3632, allocations: 245.4 kB / 443.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.3632, allocations: 4.328 kB / 443.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005741/0.3638, allocations: 294.9 kB / 444.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.3638, allocations: 4 kB / 444.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002675/0.3664, allocations: 0.7681 MB / 444.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.3665, allocations: 93.09 kB / 445 MB, free: 9.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.367, allocations: 304.5 kB / 445.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.367, allocations: 33.7 kB / 445.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.3673, allocations: 233.3 kB / 445.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.3674, allocations: 138.8 kB / 445.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.3676, allocations: 90.14 kB / 445.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.3678, allocations: 354.7 kB / 446.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.368, allocations: 117 kB / 446.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.3684, allocations: 282 kB / 446.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/0.369, allocations: 367.4 kB / 446.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.369, allocations: 3.938 kB / 446.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009771/0.37, allocations: 0.5052 MB / 447.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.37, allocations: 8 kB / 447.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.3701, allocations: 11.88 kB / 447.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/0.3706, allocations: 149.1 kB / 447.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.3709, allocations: 63.91 kB / 447.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/0.3743, allocations: 2.386 MB / 450 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.3746, allocations: 47.77 kB / 450.1 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.3746, allocations: 16 kB / 450.1 MB, free: 4.41 MB / 350.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.0003314/0.3749, allocations: 177.8 kB / 450.3 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.142e-05/0.375, allocations: 47.7 kB / 450.3 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.3751, allocations: 44.23 kB / 450.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3752, allocations: 8 kB / 450.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3752, allocations: 0 / 450.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.3752, allocations: 3.984 kB / 450.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.3768, allocations: 0.8757 MB / 451.3 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3768, allocations: 0 / 451.3 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.377, allocations: 40.02 kB / 451.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004417/0.3774, allocations: 143.7 kB / 451.4 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.3775, allocations: 8 kB / 451.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/0.3815, allocations: 2.383 MB / 453.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3815, allocations: 4 kB / 453.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.3831, allocations: 0.7059 MB / 454.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.3833, allocations: 67.7 kB / 454.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.3834, allocations: 19.98 kB / 454.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.3837, allocations: 12 kB / 454.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.3838, allocations: 43.86 kB / 454.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.3838, allocations: 12 kB / 454.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003323/0.3842, allocations: 219.1 kB / 454.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3842, allocations: 0 / 454.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008236/0.385, allocations: 151.7 kB / 455 MB, free: 15.29 MB / 366.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.0002846/0.3853, allocations: 127.1 kB / 455.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.3867, allocations: 0.5221 MB / 455.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3867, allocations: 0 / 455.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007654/0.3874, allocations: 362.5 kB / 456 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.388, allocations: 80.69 kB / 456.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.39, allocations: 0.8839 MB / 457 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3903, allocations: 232.8 kB / 457.2 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.3904, allocations: 35.28 kB / 457.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.976e-05/0.3905, allocations: 27.44 kB / 457.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 1.223e-06/0.3905, allocations: 0 / 457.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of Templates: time 0.01556/0.4061, allocations: 7.075 MB / 464.4 MB, free: 6.035 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.206502626999281]