Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001665/0.001665, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001692/0.001692, allocations: 194.9 kB / 23.71 MB, free: 4.406 MB / 14.72 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.449/1.449, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 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.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 43.92 kB / 370.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2641, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005254/0.2694, allocations: 3.415 MB / 426.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2711, allocations: 0.8921 MB / 427.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.2713, allocations: 11.94 kB / 427.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.2715, allocations: 79.17 kB / 427.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.2718, allocations: 142.8 kB / 427.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.2722, allocations: 171.7 kB / 427.8 MB, free: 9.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006503/0.2728, allocations: 0.6031 MB / 428.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002929/0.2731, allocations: 132.6 kB / 428.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.2734, allocations: 243.1 kB / 428.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.2737, allocations: 214.9 kB / 429 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.121e-05/0.2738, allocations: 56 kB / 429 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-05/0.2739, allocations: 56 kB / 429.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.274, allocations: 123.5 kB / 429.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.2743, allocations: 223 kB / 429.4 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007112/0.275, allocations: 0.6367 MB / 430.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.275, allocations: 0 / 430.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.275, allocations: 0 / 430.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.275, allocations: 0 / 430.1 MB, free: 7.469 MB / 334.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.001517/0.2765, allocations: 0.8439 MB / 430.9 MB, free: 6.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2765, allocations: 8.031 kB / 430.9 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.2767, allocations: 60.61 kB / 431 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.2772, allocations: 311.1 kB / 431.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.2772, allocations: 33.38 kB / 431.3 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.2773, allocations: 48.31 kB / 431.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007937/0.2781, allocations: 495.1 kB / 431.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.2781, allocations: 4 kB / 431.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.2781, allocations: 20 kB / 431.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.2781, allocations: 8 kB / 431.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006192/0.2788, allocations: 319.7 kB / 432.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.2812, allocations: 1.603 MB / 433.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007232/0.282, allocations: 355.9 kB / 434.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006138/0.2826, allocations: 251.2 kB / 434.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.2826, allocations: 4.328 kB / 434.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005097/0.2831, allocations: 302.8 kB / 434.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/0.2831, allocations: 0 / 434.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002387/0.2855, allocations: 0.7643 MB / 435.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.2856, allocations: 85.11 kB / 435.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003639/0.286, allocations: 300.5 kB / 435.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.286, allocations: 37.7 kB / 435.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.2862, allocations: 233.2 kB / 436.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.2864, allocations: 138.8 kB / 436.2 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.2865, allocations: 94.14 kB / 436.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.2867, allocations: 350.7 kB / 436.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.287, allocations: 117 kB / 436.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.2873, allocations: 274.1 kB / 437 MB, free: 164 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.288, allocations: 383.1 kB / 437.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.288, allocations: 0 / 437.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009236/0.2889, allocations: 0.4937 MB / 437.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2889, allocations: 8 kB / 437.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.2889, allocations: 12.41 kB / 437.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004987/0.2894, allocations: 152.7 kB / 438.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.2897, allocations: 67.78 kB / 438.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.2928, allocations: 2.382 MB / 440.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.2931, allocations: 31.78 kB / 440.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.2931, allocations: 20 kB / 440.6 MB, free: 12.46 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.0002403/0.2934, allocations: 185.6 kB / 440.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.2934, allocations: 39.77 kB / 440.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.2935, allocations: 43.42 kB / 440.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2935, allocations: 8 kB / 440.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2935, allocations: 0 / 440.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2935, allocations: 0 / 440.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.295, allocations: 0.8641 MB / 441.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.295, allocations: 0 / 441.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.2952, allocations: 43.95 kB / 441.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004125/0.2956, allocations: 140.8 kB / 441.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.2957, allocations: 11.92 kB / 441.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.2987, allocations: 2.38 MB / 444.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2987, allocations: 0 / 444.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.2999, allocations: 0.7172 MB / 445 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.3, allocations: 79.97 kB / 445.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.3001, allocations: 12 kB / 445.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.3003, allocations: 8 kB / 445.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3004, allocations: 39.86 kB / 445.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.3004, allocations: 19.98 kB / 445.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002382/0.3007, allocations: 207.1 kB / 445.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3007, allocations: 0 / 445.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006096/0.3013, allocations: 147.7 kB / 445.5 MB, free: 7.355 MB / 350.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.0001585/0.3014, allocations: 123.2 kB / 445.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3025, allocations: 0.522 MB / 446.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3025, allocations: 0 / 446.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005733/0.3031, allocations: 370.4 kB / 446.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.3035, allocations: 72.59 kB / 446.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.3053, allocations: 0.8708 MB / 447.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3056, allocations: 224.7 kB / 447.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.3057, allocations: 39.36 kB / 447.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.762e-05/0.3058, allocations: 35.42 kB / 447.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3058, allocations: 0 / 447.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of Templates: time 0.01389/0.3197, allocations: 6.847 MB / 454.6 MB, free: 14.35 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.656848043203354]