Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.007092/0.007092, allocations: 99.17 kB / 21.93 MB, free: 5.188 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.00193/0.00193, allocations: 221.8 kB / 25.23 MB, free: 3.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 207.7 MB / 236.1 MB, free: 9.941 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 55.86 kB / 348.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2826, allocations: 49.15 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005756/0.2884, allocations: 4.25 MB / 401.9 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002821/0.2912, allocations: 1.309 MB / 403.2 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005127/0.2917, allocations: 35.38 kB / 403.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.2924, allocations: 221.3 kB / 403.4 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009563/0.2934, allocations: 371.7 kB / 403.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.2938, allocations: 216.3 kB / 404 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.2954, allocations: 1.546 MB / 405.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000799/0.2962, allocations: 0.5062 MB / 406.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008986/0.2971, allocations: 0.6533 MB / 406.7 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.2982, allocations: 0.765 MB / 407.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.2984, allocations: 163.2 kB / 407.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.2987, allocations: 161.7 kB / 407.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003921/0.2991, allocations: 439.6 kB / 408.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006248/0.2997, allocations: 0.5841 MB / 408.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.3017, allocations: 2.098 MB / 410.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3017, allocations: 4 kB / 410.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3018, allocations: 5.25 kB / 410.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.978e-05/0.3018, allocations: 0 / 410.9 MB, free: 1.727 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003203/0.305, allocations: 1.867 MB / 412.8 MB, free: 428 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.305, allocations: 14.36 kB / 412.8 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.3053, allocations: 147.7 kB / 412.9 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.3068, allocations: 0.8166 MB / 413.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.96e-05/0.3069, allocations: 77.38 kB / 413.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.307, allocations: 100.9 kB / 413.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.3095, allocations: 1.477 MB / 415.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.3096, allocations: 8.828 kB / 415.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.3097, allocations: 48.62 kB / 415.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.458e-05/0.3097, allocations: 38.88 kB / 415.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.312, allocations: 1.286 MB / 416.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006248/0.3182, allocations: 3.752 MB / 420.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.3199, allocations: 0.9904 MB / 421.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.3212, allocations: 0.6805 MB / 422.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.3212, allocations: 12.66 kB / 422.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.3222, allocations: 0.64 MB / 422.9 MB, free: 9.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.685e-06/0.3222, allocations: 0 / 422.9 MB, free: 9.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007264/0.3295, allocations: 2.642 MB / 425.5 MB, free: 7.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/0.3296, allocations: 119.4 kB / 425.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.3309, allocations: 0.7816 MB / 426.4 MB, free: 6.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-05/0.331, allocations: 41.7 kB / 426.4 MB, free: 6.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/0.3315, allocations: 496.7 kB / 426.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.3317, allocations: 253.9 kB / 427.2 MB, free: 5.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.332, allocations: 134.6 kB / 427.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.3322, allocations: 390.8 kB / 427.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006804/0.3329, allocations: 397.7 kB / 428.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000833/0.3337, allocations: 0.5997 MB / 428.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.3351, allocations: 0.9171 MB / 429.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.3351, allocations: 3.938 kB / 429.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002326/0.3375, allocations: 1.282 MB / 430.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.3375, allocations: 8 kB / 430.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.3375, allocations: 4.469 kB / 430.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.3386, allocations: 480.1 kB / 431.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.339, allocations: 91.88 kB / 431.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007805/0.3468, allocations: 5.36 MB / 436.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000773/0.3476, allocations: 79.64 kB / 436.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.3477, allocations: 24 kB / 436.9 MB, free: 11.34 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: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0008132/0.3485, allocations: 463.2 kB / 437.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.3486, allocations: 91.56 kB / 437.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.3489, allocations: 116.2 kB / 437.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.3489, allocations: 12 kB / 437.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3489, allocations: 0 / 437.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.3489, allocations: 3.984 kB / 437.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/0.3531, allocations: 2.294 MB / 439.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.3531, allocations: 0 / 439.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.3534, allocations: 67.83 kB / 439.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009767/0.3544, allocations: 464.6 kB / 440.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/0.3544, allocations: 19.94 kB / 440.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00741/0.3618, allocations: 5.324 MB / 445.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3618, allocations: 0 / 445.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003073/0.3649, allocations: 1.897 MB / 447.6 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006068/0.3655, allocations: 199.3 kB / 447.8 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3656, allocations: 16 kB / 447.8 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.3661, allocations: 44.08 kB / 447.9 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.3662, allocations: 80.5 kB / 448 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.3663, allocations: 19.98 kB / 448 MB, free: 72 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008243/0.3671, allocations: 0.5615 MB / 448.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3671, allocations: 0 / 448.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001091/0.3682, allocations: 355.2 kB / 448.9 MB, free: 15.17 MB / 366.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0002156/0.3684, allocations: 131 kB / 449 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002331/0.3708, allocations: 1.25 MB / 450.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3708, allocations: 0 / 450.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.372, allocations: 0.7937 MB / 451.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.3731, allocations: 254.7 kB / 451.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.3775, allocations: 2.345 MB / 453.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008324/0.3783, allocations: 0.7036 MB / 454.4 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.3785, allocations: 59.42 kB / 454.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3785, allocations: 0 / 454.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of Templates: time 0.0316/0.4101, allocations: 20.79 MB / 475.2 MB, free: 4.695 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.780837748199701]