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.0009372/0.0009372, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009345/0.0009345, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9345/0.9345, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] 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 2.825e-06/2.825e-06, allocations: 4 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.653e-05, allocations: 2.312 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00342/0.003437, allocations: 3.68 MB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.004779, allocations: 1.008 MB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.004936, allocations: 7.938 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.005103, allocations: 83.16 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.00535, allocations: 150.6 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.005643, allocations: 191.5 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.006072, allocations: 0.6418 MB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.00627, allocations: 149.2 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.006605, allocations: 375.1 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.006816, allocations: 191.4 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.006869, allocations: 56 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.431e-05/0.006943, allocations: 60 kB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.007016, allocations: 131.5 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.007155, allocations: 183.5 kB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.007532, allocations: 418.4 kB / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.007534, allocations: 0 / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.007534, allocations: 0 / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.007539, allocations: 0 / 280.7 MB, free: 9.703 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.0007225/0.008261, allocations: 0.7111 MB / 281.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.668e-05/0.008288, allocations: 11.98 kB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.008441, allocations: 80.86 kB / 281.5 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.008701, allocations: 257.5 kB / 281.7 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.008722, allocations: 37.31 kB / 281.8 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.008768, allocations: 48.38 kB / 281.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.009078, allocations: 364.5 kB / 282.2 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.009094, allocations: 12.08 kB / 282.2 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.009121, allocations: 27.92 kB / 282.2 MB, free: 8.082 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.009129, allocations: 8 kB / 282.2 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.009353, allocations: 122.9 kB / 282.3 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.01053, allocations: 1.33 MB / 283.7 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.01081, allocations: 251.4 kB / 283.9 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.01103, allocations: 173.3 kB / 284.1 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.01105, allocations: 12.33 kB / 284.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.01124, allocations: 234.7 kB / 284.3 MB, free: 5.863 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.423e-06/0.01124, allocations: 0 / 284.3 MB, free: 5.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.000888/0.01213, allocations: 0.4978 MB / 284.8 MB, free: 5.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.01217, allocations: 85.11 kB / 284.9 MB, free: 5.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.01232, allocations: 278.9 kB / 285.2 MB, free: 4.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.01235, allocations: 37.7 kB / 285.2 MB, free: 4.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/0.01243, allocations: 209.7 kB / 285.4 MB, free: 4.719 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.0125, allocations: 142.8 kB / 285.6 MB, free: 4.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.01257, allocations: 86.14 kB / 285.7 MB, free: 4.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.01266, allocations: 350.7 kB / 286 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.193e-05/0.01271, allocations: 44.97 kB / 286 MB, free: 4.094 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.01283, allocations: 202.1 kB / 286.2 MB, free: 3.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.01303, allocations: 254.4 kB / 286.5 MB, free: 3.531 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01304, allocations: 4 kB / 286.5 MB, free: 3.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003224/0.01336, allocations: 297.7 kB / 286.8 MB, free: 3.227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.01337, allocations: 4 kB / 286.8 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01338, allocations: 4 kB / 286.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000209/0.01358, allocations: 105.1 kB / 286.9 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.01371, allocations: 75.83 kB / 287 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.01491, allocations: 1.84 MB / 288.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.01502, allocations: 47.66 kB / 288.8 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.01504, allocations: 12 kB / 288.9 MB, free: 1.062 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.0001094/0.01515, allocations: 144.6 kB / 289 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.01519, allocations: 39.95 kB / 289 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.01524, allocations: 52.3 kB / 289.1 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01524, allocations: 4 kB / 289.1 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01524, allocations: 4 kB / 289.1 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01525, allocations: 0 / 289.1 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.01579, allocations: 0.5443 MB / 289.6 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01579, allocations: 4 kB / 289.6 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.218e-05/0.01588, allocations: 27.98 kB / 289.7 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.01605, allocations: 104.1 kB / 289.8 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.01607, allocations: 16 kB / 289.8 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1035/0.1196, allocations: 1.823 MB / 291.6 MB, free: 24.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1196, allocations: 1.094 kB / 291.6 MB, free: 24.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.12, allocations: 411.6 kB / 292 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-05/0.1201, allocations: 53.11 kB / 292.1 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.1201, allocations: 9.406 kB / 292.1 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.1202, allocations: 15.03 kB / 292.1 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.1203, allocations: 39 kB / 292.1 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1203, allocations: 10.34 kB / 292.1 MB, free: 23.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.886e-05/0.1204, allocations: 102.5 kB / 292.2 MB, free: 23.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1204, allocations: 3.5 kB / 292.2 MB, free: 23.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003879/0.1208, allocations: 147.6 kB / 292.4 MB, free: 23.98 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.763e-05/0.1209, allocations: 96.56 kB / 292.5 MB, free: 23.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004239/0.1213, allocations: 404.8 kB / 292.9 MB, free: 23.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.1213, allocations: 3.375 kB / 292.9 MB, free: 23.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.1215, allocations: 317.2 kB / 293.2 MB, free: 23.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.1218, allocations: 78.75 kB / 293.3 MB, free: 23.63 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1229, allocations: 0.8275 MB / 294.1 MB, free: 23.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.448e-05/0.123, allocations: 119.3 kB / 294.2 MB, free: 23.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.181e-05/0.1231, allocations: 37.94 kB / 294.3 MB, free: 23.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.1232, allocations: 120.6 kB / 294.4 MB, free: 23.13 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1232, allocations: 4.562 kB / 294.4 MB, free: 23.13 MB / 266.7 MB Notification: Performance of Templates: time 0.008967/0.1322, allocations: 6.936 MB / 301.3 MB, free: 21.59 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] 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","",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.5915022529661655]