Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001327/0.001327, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001423/0.001423, allocations: 187.5 kB / 24.46 MB, free: 3.863 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.424/1.424, allocations: 225.7 MB / 253.3 MB, free: 12.83 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 51.91 kB / 371.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2251, allocations: 52.17 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006407/0.2316, allocations: 4.303 MB / 428.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.2339, allocations: 1.254 MB / 429.4 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.2342, allocations: 47.62 kB / 429.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006147/0.2348, allocations: 226.5 kB / 429.7 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007678/0.2356, allocations: 362 kB / 430 MB, free: 8.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.236, allocations: 215.6 kB / 430.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.2376, allocations: 1.533 MB / 431.8 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007991/0.2384, allocations: 0.5359 MB / 432.3 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007512/0.2391, allocations: 0.6542 MB / 432.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.2402, allocations: 0.7705 MB / 433.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.2404, allocations: 164 kB / 433.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.2407, allocations: 168 kB / 434 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004258/0.2411, allocations: 450.7 kB / 434.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00067/0.2418, allocations: 0.5835 MB / 435.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.2439, allocations: 2.105 MB / 437.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2439, allocations: 0 / 437.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2439, allocations: 0 / 437.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.2439, allocations: 0 / 437.2 MB, free: 1.051 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003354/0.2473, allocations: 1.881 MB / 439.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2473, allocations: 8.031 kB / 439.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.2476, allocations: 148 kB / 439.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.2493, allocations: 0.8931 MB / 440.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.134e-05/0.2494, allocations: 78.36 kB / 440.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.2495, allocations: 104.1 kB / 440.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.252, allocations: 1.485 MB / 441.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.252, allocations: 7.984 kB / 441.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.2522, allocations: 40 kB / 441.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/0.2522, allocations: 38 kB / 441.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.2544, allocations: 1.292 MB / 443.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006375/0.2608, allocations: 3.772 MB / 446.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.2625, allocations: 0.9977 MB / 447.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.2638, allocations: 0.6882 MB / 448.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/0.2638, allocations: 8.656 kB / 448.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.2648, allocations: 0.6439 MB / 449.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 3.085e-06/0.2648, allocations: 0 / 449.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007515/0.2723, allocations: 2.743 MB / 452 MB, free: 1.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.774e-05/0.2724, allocations: 123.5 kB / 452.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.2735, allocations: 0.7816 MB / 452.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.2736, allocations: 41.7 kB / 452.9 MB, free: 1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/0.2741, allocations: 492.7 kB / 453.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.2743, allocations: 257.8 kB / 453.7 MB, free: 264 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.2746, allocations: 134.6 kB / 453.8 MB, free: 124 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.2748, allocations: 398.7 kB / 454.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/0.2755, allocations: 389.7 kB / 454.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008228/0.2763, allocations: 0.6036 MB / 455.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.2777, allocations: 0.9093 MB / 456.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2777, allocations: 4 kB / 456.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002191/0.2799, allocations: 1.286 MB / 457.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2799, allocations: 10.5 kB / 457.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.2799, allocations: 4.469 kB / 457.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.281, allocations: 465.4 kB / 457.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.2814, allocations: 99.81 kB / 457.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007606/0.289, allocations: 5.379 MB / 463.3 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005123/0.2895, allocations: 79.64 kB / 463.4 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.2895, allocations: 28 kB / 463.4 MB, free: 6.254 MB / 366.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: 15 (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.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.000666/0.2902, allocations: 463.2 kB / 463.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.2903, allocations: 87.42 kB / 464 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.2906, allocations: 108.3 kB / 464.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.2906, allocations: 12 kB / 464.1 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2906, allocations: 0 / 464.1 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2906, allocations: 7.922 kB / 464.1 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004115/0.2947, allocations: 2.309 MB / 466.4 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2947, allocations: 0 / 466.4 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.295, allocations: 59.91 kB / 466.5 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.296, allocations: 456.4 kB / 466.9 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.2961, allocations: 19.98 kB / 466.9 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007564/0.3036, allocations: 5.307 MB / 472.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3036, allocations: 0 / 472.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.3066, allocations: 1.897 MB / 474.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005331/0.3071, allocations: 211.3 kB / 474.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.3073, allocations: 12 kB / 474.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.3077, allocations: 51.88 kB / 474.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.3079, allocations: 76.52 kB / 474.5 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.3079, allocations: 19.98 kB / 474.5 MB, free: 11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008092/0.3087, allocations: 0.5576 MB / 475 MB, free: 10.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3087, allocations: 4 kB / 475 MB, free: 10.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001018/0.3098, allocations: 347.2 kB / 475.4 MB, free: 10.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002067/0.31, allocations: 135.1 kB / 475.5 MB, free: 9.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.3123, allocations: 1.247 MB / 476.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3123, allocations: 3.938 kB / 476.8 MB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.3136, allocations: 0.7974 MB / 477.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.3146, allocations: 252.7 kB / 477.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.319, allocations: 2.357 MB / 480.2 MB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008473/0.3199, allocations: 0.7038 MB / 480.9 MB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.32, allocations: 55.42 kB / 480.9 MB, free: 4.457 MB / 382.1 MB Notification: Performance of SimCode: time 4.7e-07/0.32, allocations: 0 / 480.9 MB, free: 4.457 MB / 382.1 MB Notification: Performance of Templates: time 0.03045/0.3505, allocations: 20.85 MB / 0.49 GB, free: 15.68 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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: 9.07187461014837]