Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009658/0.0009658, allocations: 76.06 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000993/0.000993, allocations: 145.2 kB / 24.98 MB, free: 9.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9592/0.9592, allocations: 173.4 MB / 201.5 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 268.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.431e-05, allocations: 2.312 kB / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003404/0.003418, allocations: 3.696 MB / 271.8 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.004829, allocations: 0.9075 MB / 272.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.00507, allocations: 11.94 kB / 272.7 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.005268, allocations: 71.28 kB / 272.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.005572, allocations: 154.6 kB / 272.9 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.005885, allocations: 167.7 kB / 273.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.006407, allocations: 0.6301 MB / 273.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.006649, allocations: 140.6 kB / 273.9 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.006978, allocations: 355.2 kB / 274.2 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.007206, allocations: 183.4 kB / 274.4 MB, free: 364 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.007269, allocations: 56 kB / 274.4 MB, free: 308 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-05/0.007319, allocations: 56 kB / 274.5 MB, free: 252 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.007398, allocations: 127.6 kB / 274.6 MB, free: 124 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.007549, allocations: 191.5 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.007908, allocations: 406.5 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.007912, allocations: 4 kB / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007912, allocations: 0 / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.007919, allocations: 0 / 275.2 MB, free: 15.53 MB / 266.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.000939/0.008858, allocations: 0.9404 MB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.008891, allocations: 12.92 kB / 276.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.008998, allocations: 88.61 kB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.009348, allocations: 305.3 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.009372, allocations: 37.38 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.009423, allocations: 48.31 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.009886, allocations: 405.5 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.009901, allocations: 192 / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.009934, allocations: 23.92 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.009946, allocations: 12 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.01022, allocations: 169.8 kB / 277.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.01174, allocations: 1.839 MB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.01218, allocations: 304.2 kB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.01251, allocations: 211.1 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.01253, allocations: 4.328 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.01281, allocations: 250.1 kB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.353e-06/0.01281, allocations: 0 / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001291/0.0141, allocations: 0.6303 MB / 280.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.01414, allocations: 85.11 kB / 280.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.01438, allocations: 330.3 kB / 280.9 MB, free: 9.586 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.0144, allocations: 37.69 kB / 280.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.01452, allocations: 272 kB / 281.2 MB, free: 9.273 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.634e-05/0.0146, allocations: 130.9 kB / 281.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.01469, allocations: 91.8 kB / 281.4 MB, free: 9.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.01482, allocations: 0.5157 MB / 281.9 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.01493, allocations: 64.95 kB / 282 MB, free: 8.457 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.01514, allocations: 277 kB / 282.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.01545, allocations: 325.9 kB / 282.5 MB, free: 7.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.01545, allocations: 4 kB / 282.6 MB, free: 7.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004785/0.01593, allocations: 408.4 kB / 283 MB, free: 7.301 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.01595, allocations: 10.97 kB / 283 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.01595, allocations: 4 kB / 283 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.01622, allocations: 111.5 kB / 283.1 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.01636, allocations: 67.84 kB / 283.1 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.01812, allocations: 2.633 MB / 285.8 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.01825, allocations: 47.72 kB / 285.8 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.01827, allocations: 16 kB / 285.8 MB, free: 4.297 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_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.0001238/0.0184, allocations: 184.5 kB / 286 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.01845, allocations: 55.77 kB / 286.1 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.0185, allocations: 39.48 kB / 286.1 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.0185, allocations: 8 kB / 286.1 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.0185, allocations: 3.938 kB / 286.1 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.01851, allocations: 11.92 kB / 286.1 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008103/0.01932, allocations: 0.7944 MB / 286.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01932, allocations: 0 / 286.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-05/0.01942, allocations: 35.92 kB / 287 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/0.01963, allocations: 103.6 kB / 287.1 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.01965, allocations: 8.031 kB / 287.1 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.02125, allocations: 2.617 MB / 289.7 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.02125, allocations: 0 / 289.7 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.02182, allocations: 0.5513 MB / 290.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.02192, allocations: 79.64 kB / 290.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.02195, allocations: 12 kB / 290.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.02206, allocations: 12 kB / 290.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.02213, allocations: 39.92 kB / 290.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.02215, allocations: 11.94 kB / 290.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.02228, allocations: 235 kB / 290.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02228, allocations: 0 / 290.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003594/0.02264, allocations: 151.7 kB / 290.8 MB, free: 15.14 MB / 282.7 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.0001035/0.02274, allocations: 122 kB / 290.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005544/0.0233, allocations: 0.5013 MB / 291.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.0233, allocations: 4 kB / 291.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.02359, allocations: 388.7 kB / 291.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.02389, allocations: 69.06 kB / 291.8 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.02515, allocations: 0.832 MB / 292.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.406e-05/0.02524, allocations: 126.1 kB / 292.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.251e-05/0.02532, allocations: 31.28 kB / 292.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.02537, allocations: 32.48 kB / 292.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02537, allocations: 0 / 292.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of Templates: time 0.008393/0.03377, allocations: 6.485 MB / 299.3 MB, free: 6.637 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9870506261941046]