Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00178/0.00178, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002155/0.002155, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.89 kB / 378.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3001, allocations: 53.37 MB / 432.1 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00571/0.3058, allocations: 3.783 MB / 435.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.3083, allocations: 1.009 MB / 436.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.3086, allocations: 15.94 kB / 436.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.3089, allocations: 79.22 kB / 437 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.3092, allocations: 146.7 kB / 437.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.3097, allocations: 183.7 kB / 437.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007222/0.3104, allocations: 0.6265 MB / 438 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.3107, allocations: 148.6 kB / 438.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.3111, allocations: 255 kB / 438.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.3114, allocations: 246.9 kB / 438.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-05/0.3115, allocations: 60 kB / 438.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.3116, allocations: 56 kB / 438.7 MB, free: 456 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.3118, allocations: 127.5 kB / 438.8 MB, free: 328 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.312, allocations: 274.6 kB / 439.1 MB, free: 52 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000806/0.3129, allocations: 0.6478 MB / 439.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3129, allocations: 0 / 439.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3129, allocations: 0 / 439.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.3129, allocations: 7.875 kB / 439.8 MB, free: 15.39 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.001655/0.3145, allocations: 0.8593 MB / 440.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3146, allocations: 8.031 kB / 440.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.3148, allocations: 68.59 kB / 440.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.3153, allocations: 315.2 kB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.3153, allocations: 33.38 kB / 441 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.529e-05/0.3154, allocations: 48.38 kB / 441.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008706/0.3163, allocations: 461.5 kB / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3163, allocations: 0 / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.3163, allocations: 19.98 kB / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.3164, allocations: 12 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.317, allocations: 327.7 kB / 441.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.3197, allocations: 1.798 MB / 443.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.3205, allocations: 352.6 kB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006266/0.3211, allocations: 252.9 kB / 444.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.3211, allocations: 4.328 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005129/0.3216, allocations: 273.1 kB / 444.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.3216, allocations: 0 / 444.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002514/0.3242, allocations: 0.7643 MB / 445.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.3242, allocations: 92.98 kB / 445.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.3246, allocations: 324.4 kB / 445.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.3246, allocations: 37.7 kB / 445.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3248, allocations: 232.7 kB / 446 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.325, allocations: 138.8 kB / 446.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.3251, allocations: 82.16 kB / 446.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3253, allocations: 354.7 kB / 446.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.3255, allocations: 125 kB / 446.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.3259, allocations: 248.4 kB / 446.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006191/0.3265, allocations: 374.7 kB / 447.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.3265, allocations: 7.938 kB / 447.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009862/0.3275, allocations: 0.5013 MB / 447.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.3275, allocations: 14.91 kB / 447.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3275, allocations: 4 kB / 447.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/0.3281, allocations: 152.7 kB / 448 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.3283, allocations: 67.84 kB / 448 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/0.3315, allocations: 2.441 MB / 450.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.3318, allocations: 47.7 kB / 450.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.3318, allocations: 16 kB / 450.5 MB, free: 4.133 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.0002542/0.3321, allocations: 177.8 kB / 450.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.3321, allocations: 47.7 kB / 450.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.3322, allocations: 52.39 kB / 450.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3322, allocations: 4 kB / 450.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3323, allocations: 0 / 450.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3323, allocations: 0 / 450.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.334, allocations: 0.9961 MB / 451.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.334, allocations: 0 / 451.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.3342, allocations: 35.92 kB / 451.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000427/0.3346, allocations: 144.9 kB / 452 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.3346, allocations: 4 kB / 452 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003016/0.3376, allocations: 2.445 MB / 454.4 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3376, allocations: 0 / 454.4 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.3389, allocations: 0.7021 MB / 455.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.3391, allocations: 83.58 kB / 455.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.3392, allocations: 15.94 kB / 455.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.3394, allocations: 12 kB / 455.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.3395, allocations: 35.92 kB / 455.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.3395, allocations: 16 kB / 455.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.3398, allocations: 231 kB / 455.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3398, allocations: 4 kB / 455.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006097/0.3404, allocations: 147.8 kB / 455.7 MB, free: 14.79 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.0001558/0.3406, allocations: 115.2 kB / 455.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.3416, allocations: 0.5368 MB / 456.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3416, allocations: 0 / 456.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005649/0.3422, allocations: 359.3 kB / 456.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.3427, allocations: 92.08 kB / 456.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.3444, allocations: 0.8927 MB / 457.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.3449, allocations: 0.8318 MB / 458.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.345, allocations: 35.34 kB / 458.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.3451, allocations: 35.42 kB / 458.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3451, allocations: 0 / 458.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Templates: time 0.01449/0.3596, allocations: 7.414 MB / 466 MB, free: 4.535 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.81573457736522]