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.0009027/0.0009027, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001898/0.002801, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001125/0.001125, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.00263, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9504/0.9504, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0932/1.044, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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 1.202e-06/1.202e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.135e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003982/0.003993, allocations: 3.739 MB / 248.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.005266, allocations: 1.016 MB / 249.3 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.005426, allocations: 11.94 kB / 249.3 MB, free: 9.512 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.005566, allocations: 87.16 kB / 249.4 MB, free: 9.426 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.00575, allocations: 150.6 kB / 249.5 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.00601, allocations: 179.7 kB / 249.7 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.006424, allocations: 0.6302 MB / 250.3 MB, free: 8.469 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.006627, allocations: 149.2 kB / 250.5 MB, free: 8.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003432/0.00697, allocations: 410.1 kB / 250.9 MB, free: 7.922 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.0072, allocations: 195.4 kB / 251.1 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/0.007258, allocations: 56 kB / 251.1 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.007359, allocations: 60 kB / 251.2 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.007442, allocations: 91.69 kB / 251.3 MB, free: 7.527 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.007567, allocations: 155.7 kB / 251.4 MB, free: 7.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.0079, allocations: 382.6 kB / 251.8 MB, free: 7 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.007912, allocations: 0 / 251.8 MB, free: 7 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007913, allocations: 0 / 251.8 MB, free: 7 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.007925, allocations: 0 / 251.8 MB, free: 7 MB / 250.7 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.0008401/0.008765, allocations: 0.816 MB / 252.6 MB, free: 6.156 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.008796, allocations: 12.03 kB / 252.6 MB, free: 6.145 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.008964, allocations: 158 kB / 252.8 MB, free: 5.973 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.009222, allocations: 253.5 kB / 253 MB, free: 5.695 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.009242, allocations: 33.38 kB / 253.1 MB, free: 5.664 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.009284, allocations: 44.38 kB / 253.1 MB, free: 5.621 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.009615, allocations: 384.4 kB / 253.5 MB, free: 5.211 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.009628, allocations: 192 / 253.5 MB, free: 5.211 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.009653, allocations: 23.94 kB / 253.5 MB, free: 5.188 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.009662, allocations: 12 kB / 253.5 MB, free: 5.176 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.009802, allocations: 114.9 kB / 253.6 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.01093, allocations: 1.33 MB / 255 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.01121, allocations: 247.4 kB / 255.2 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.01144, allocations: 177.3 kB / 255.4 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.01146, allocations: 8.328 kB / 255.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.01166, allocations: 242.6 kB / 255.6 MB, free: 2.969 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.342e-06/0.01167, allocations: 4 kB / 255.6 MB, free: 2.965 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008644/0.01253, allocations: 0.4989 MB / 256.1 MB, free: 2.457 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.01256, allocations: 63.34 kB / 256.2 MB, free: 2.383 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.0127, allocations: 274.9 kB / 256.5 MB, free: 2.102 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.01273, allocations: 41.69 kB / 256.5 MB, free: 2.055 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.01281, allocations: 201.8 kB / 256.7 MB, free: 1.848 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.01287, allocations: 142.8 kB / 256.8 MB, free: 1.707 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.01295, allocations: 86.14 kB / 256.9 MB, free: 1.617 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.01302, allocations: 342.8 kB / 257.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.01307, allocations: 44.97 kB / 257.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.01319, allocations: 210.1 kB / 257.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.01338, allocations: 261.8 kB / 257.8 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01338, allocations: 4 kB / 257.8 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0002783/0.01366, allocations: 294.2 kB / 258.1 MB, free: 364 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.01367, allocations: 8 kB / 258.1 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01368, allocations: 4 kB / 258.1 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/0.01387, allocations: 108.6 kB / 258.2 MB, free: 240 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.01401, allocations: 75.91 kB / 258.2 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.01514, allocations: 1.846 MB / 260.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.01525, allocations: 35.73 kB / 260.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.01526, allocations: 20 kB / 260.1 MB, free: 14.18 MB / 266.7 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 9.667e-05/0.01536, allocations: 148.5 kB / 260.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.01539, allocations: 35.97 kB / 260.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.01544, allocations: 48.3 kB / 260.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01544, allocations: 4 kB / 260.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01544, allocations: 0 / 260.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01545, allocations: 7.984 kB / 260.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.01595, allocations: 0.5444 MB / 260.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01595, allocations: 0 / 260.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.919e-05/0.01604, allocations: 35.98 kB / 261 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.01611, allocations: 51.62 kB / 261 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/0.01629, allocations: 96.78 kB / 261.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.0163, allocations: 11.98 kB / 261.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.01737, allocations: 1.832 MB / 263 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01737, allocations: 7.938 kB / 263 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.0177, allocations: 410.8 kB / 263.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.01773, allocations: 15.94 kB / 263.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-05/0.01783, allocations: 11.98 kB / 263.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.01788, allocations: 35.94 kB / 263.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.01789, allocations: 11.98 kB / 263.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.648e-05/0.01796, allocations: 104.6 kB / 263.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01796, allocations: 0 / 263.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003115/0.01827, allocations: 151.8 kB / 263.7 MB, free: 10.48 MB / 266.7 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 8.455e-05/0.01835, allocations: 96.36 kB / 263.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.01871, allocations: 411.5 kB / 264.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.01872, allocations: 4 kB / 264.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.01894, allocations: 311.6 kB / 264.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.01917, allocations: 109.2 kB / 264.6 MB, free: 9.535 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.02185, allocations: 0.8696 MB / 265.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.332e-05/0.02192, allocations: 118.3 kB / 265.6 MB, free: 8.504 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.449e-05/0.02199, allocations: 35.28 kB / 265.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.02212, allocations: 127.3 kB / 265.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02212, allocations: 3.938 kB / 265.7 MB, free: 8.34 MB / 266.7 MB Notification: Performance of Templates: time 0.0085/0.03062, allocations: 7.19 MB / 272.9 MB, free: 1.34 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5848226426169276]