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.001239/0.001239, allocations: 116 kB / 18.45 MB, free: 4.605 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.001345/0.001345, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.492/1.492, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001513/0.001513, allocations: 51.92 kB / 374.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1019, allocations: 53.32 MB / 427.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005511/0.1074, allocations: 3.764 MB / 431.3 MB, free: 492 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1989/0.3063, allocations: 0.9857 MB / 432.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.3066, allocations: 8.875 kB / 432.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.3069, allocations: 84.69 kB / 432.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.3073, allocations: 150 kB / 432.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.3077, allocations: 179.4 kB / 432.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005915/0.3083, allocations: 0.6193 MB / 433.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.3086, allocations: 144.9 kB / 433.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.3089, allocations: 240.6 kB / 433.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.3092, allocations: 257.1 kB / 433.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.3092, allocations: 57.75 kB / 434 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3093, allocations: 60.56 kB / 434 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.3094, allocations: 123.1 kB / 434.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.3096, allocations: 276.9 kB / 434.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005886/0.3102, allocations: 0.6474 MB / 435.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3102, allocations: 0 / 435.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3102, allocations: 4.406 kB / 435.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.3102, allocations: 0 / 435.1 MB, free: 7.633 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.001328/0.3115, allocations: 0.8041 MB / 435.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3116, allocations: 9.875 kB / 435.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.3118, allocations: 66.61 kB / 435.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.3122, allocations: 391.6 kB / 436.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.3123, allocations: 31.52 kB / 436.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.3123, allocations: 45.59 kB / 436.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/0.3131, allocations: 470 kB / 436.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.3131, allocations: 1.672 kB / 436.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.3131, allocations: 16.97 kB / 436.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.3131, allocations: 9.5 kB / 436.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.3137, allocations: 324.3 kB / 437.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.3158, allocations: 1.861 MB / 439.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.3165, allocations: 0.5619 MB / 439.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005666/0.3171, allocations: 245.9 kB / 439.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.3171, allocations: 5.344 kB / 439.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004453/0.3176, allocations: 272.2 kB / 440.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.3176, allocations: 0 / 440.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002384/0.3199, allocations: 0.8342 MB / 441 MB, free: 4.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.32, allocations: 90.38 kB / 441.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.3203, allocations: 323.9 kB / 441.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.3204, allocations: 40.45 kB / 441.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.3205, allocations: 221.8 kB / 441.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.3206, allocations: 143.6 kB / 441.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.3207, allocations: 88.27 kB / 441.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.3208, allocations: 354.9 kB / 442.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.321, allocations: 120.1 kB / 442.3 MB, free: 3.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.3213, allocations: 256.5 kB / 442.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005164/0.3218, allocations: 378.9 kB / 442.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3218, allocations: 1.062 kB / 443 MB, free: 2.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008596/0.3226, allocations: 0.5023 MB / 443.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3227, allocations: 7.969 kB / 443.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3227, allocations: 4.266 kB / 443.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005732/0.3232, allocations: 158.9 kB / 443.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.3235, allocations: 64.16 kB / 443.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.326, allocations: 2.548 MB / 446.2 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.3263, allocations: 43.25 kB / 446.3 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.3263, allocations: 20.17 kB / 446.3 MB, free: 340 kB / 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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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.0001986/0.3265, allocations: 177.6 kB / 446.5 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.3266, allocations: 43.2 kB / 446.5 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.856e-05/0.3267, allocations: 53.25 kB / 446.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3267, allocations: 5.719 kB / 446.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3267, allocations: 0 / 446.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3267, allocations: 2.375 kB / 446.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.3283, allocations: 1.019 MB / 447.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3283, allocations: 5.406 kB / 447.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.3285, allocations: 35.23 kB / 447.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/0.3289, allocations: 144.1 kB / 447.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.329, allocations: 8.328 kB / 447.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003114/0.3321, allocations: 2.541 MB / 450.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3321, allocations: 0.5625 kB / 450.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.3333, allocations: 0.7077 MB / 451 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.3336, allocations: 160.2 kB / 451.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.3336, allocations: 15.19 kB / 451.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.3339, allocations: 13.67 kB / 451.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.334, allocations: 35.25 kB / 451.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.334, allocations: 11.05 kB / 451.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002838/0.3343, allocations: 227.3 kB / 451.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3343, allocations: 4 kB / 451.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006908/0.335, allocations: 145.7 kB / 451.6 MB, free: 12.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001751/0.3351, allocations: 118.9 kB / 451.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.3362, allocations: 0.524 MB / 452.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3362, allocations: 1.562 kB / 452.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005864/0.3368, allocations: 365.1 kB / 452.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.3373, allocations: 89.64 kB / 452.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.3392, allocations: 0.915 MB / 453.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.3397, allocations: 0.8286 MB / 454.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.3398, allocations: 36.81 kB / 454.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3398, allocations: 0 / 454.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of Templates: time 0.01128/0.3511, allocations: 7.187 MB / 461.7 MB, free: 8.312 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 -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: 7.961487538006622]