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.0007678/0.0007678, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.001817, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006828/0.0006828, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009062/0.001589, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9447/0.9447, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08355/1.028, allocations: 53.65 MB / 243.4 MB, free: 15.52 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.283e-06/1.283e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.878e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003566/0.003585, allocations: 3.751 MB / 248.5 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.004676, allocations: 1.004 MB / 249.5 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.004829, allocations: 15.94 kB / 249.5 MB, free: 9.414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.004964, allocations: 79.16 kB / 249.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.005144, allocations: 158.6 kB / 249.7 MB, free: 9.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.005381, allocations: 183.6 kB / 249.9 MB, free: 9 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.005794, allocations: 0.634 MB / 250.5 MB, free: 8.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.006004, allocations: 145.2 kB / 250.7 MB, free: 8.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.006372, allocations: 410.2 kB / 251.1 MB, free: 7.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.006601, allocations: 191.4 kB / 251.3 MB, free: 7.629 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-05/0.006658, allocations: 56 kB / 251.3 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.006761, allocations: 56 kB / 251.4 MB, free: 7.52 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.006833, allocations: 95.67 kB / 251.5 MB, free: 7.426 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.006952, allocations: 155.7 kB / 251.6 MB, free: 7.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.007275, allocations: 386.6 kB / 252 MB, free: 6.895 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.007286, allocations: 0 / 252 MB, free: 6.895 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007287, allocations: 0 / 252 MB, free: 6.895 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.007295, allocations: 0 / 252 MB, free: 6.895 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.0008034/0.008099, allocations: 0.816 MB / 252.8 MB, free: 6.051 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.008129, allocations: 12.03 kB / 252.8 MB, free: 6.039 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.008293, allocations: 158 kB / 253 MB, free: 5.867 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.008542, allocations: 249.5 kB / 253.2 MB, free: 5.594 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.008562, allocations: 41.31 kB / 253.3 MB, free: 5.555 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.008605, allocations: 44.38 kB / 253.3 MB, free: 5.512 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.00892, allocations: 380.4 kB / 253.7 MB, free: 5.105 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.008931, allocations: 192 / 253.7 MB, free: 5.105 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.008955, allocations: 19.94 kB / 253.7 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.008965, allocations: 12 kB / 253.7 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.009107, allocations: 126.8 kB / 253.8 MB, free: 4.949 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.01021, allocations: 1.33 MB / 255.2 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.01048, allocations: 247.4 kB / 255.4 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.0107, allocations: 177.3 kB / 255.6 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.01073, allocations: 12.31 kB / 255.6 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.01094, allocations: 230.7 kB / 255.8 MB, free: 2.863 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.172e-06/0.01094, allocations: 0 / 255.8 MB, free: 2.863 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008758/0.01181, allocations: 0.5067 MB / 256.3 MB, free: 2.348 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.01184, allocations: 59.41 kB / 256.4 MB, free: 2.277 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.012, allocations: 282.9 kB / 256.7 MB, free: 1.988 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.01202, allocations: 33.7 kB / 256.7 MB, free: 1.949 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.01211, allocations: 209.7 kB / 256.9 MB, free: 1.738 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.01217, allocations: 138.8 kB / 257 MB, free: 1.602 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.407e-05/0.01225, allocations: 86.14 kB / 257.1 MB, free: 1.512 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.01233, allocations: 350.7 kB / 257.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.115e-05/0.01239, allocations: 40.98 kB / 257.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.0125, allocations: 204.4 kB / 257.7 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.0127, allocations: 270.3 kB / 258 MB, free: 0.543 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01271, allocations: 0 / 258 MB, free: 0.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000279/0.01299, allocations: 294.1 kB / 258.2 MB, free: 252 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.013, allocations: 12.06 kB / 258.3 MB, free: 240 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.013, allocations: 4 kB / 258.3 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/0.01329, allocations: 96.69 kB / 258.4 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.01347, allocations: 75.84 kB / 258.4 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.01472, allocations: 1.844 MB / 260.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.01483, allocations: 39.73 kB / 260.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.01484, allocations: 16 kB / 260.3 MB, free: 14.08 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 0.0001015/0.01495, allocations: 164.5 kB / 260.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.01498, allocations: 31.97 kB / 260.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.01503, allocations: 48.3 kB / 260.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01503, allocations: 4 kB / 260.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.01503, allocations: 4 kB / 260.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01504, allocations: 3.984 kB / 260.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.01554, allocations: 0.5327 MB / 261.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.01554, allocations: 4 kB / 261.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.239e-05/0.01563, allocations: 43.92 kB / 261.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.0157, allocations: 51.62 kB / 261.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000162/0.01586, allocations: 92.83 kB / 261.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.01588, allocations: 15.98 kB / 261.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.01707, allocations: 1.82 MB / 263.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01707, allocations: 3.938 kB / 263.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.01741, allocations: 426.9 kB / 263.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.01744, allocations: 11.94 kB / 263.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.01754, allocations: 19.92 kB / 263.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.0176, allocations: 32.08 kB / 263.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.01761, allocations: 15.98 kB / 263.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.387e-05/0.01769, allocations: 100.6 kB / 263.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01769, allocations: 0 / 263.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.01798, allocations: 147.8 kB / 263.9 MB, free: 10.38 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 9.096e-05/0.01807, allocations: 100.4 kB / 264 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.01844, allocations: 411.8 kB / 264.4 MB, free: 9.855 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.01845, allocations: 8 kB / 264.4 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.01869, allocations: 331.6 kB / 264.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.01911, allocations: 0.7726 MB / 265.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.02179, allocations: 0.8588 MB / 266.3 MB, free: 7.691 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.557e-05/0.02185, allocations: 122.2 kB / 266.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.485e-05/0.02193, allocations: 35.28 kB / 266.5 MB, free: 7.516 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.02207, allocations: 127.3 kB / 266.6 MB, free: 7.391 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02207, allocations: 0 / 266.6 MB, free: 7.391 MB / 266.7 MB Notification: Performance of Templates: time 0.00841/0.03048, allocations: 7.199 MB / 273.8 MB, free: 392 kB / 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6329795196652412]