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.001284/0.001284, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001043/0.001043, allocations: 161.2 kB / 25.61 MB, free: 8.887 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.9083/0.9083, allocations: 177 MB / 205.9 MB, free: 4.43 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 1.253e-06/1.253e-06, allocations: 0 / 274.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.414e-05, allocations: 3.969 kB / 274.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004468/0.004483, allocations: 3.683 MB / 277.8 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.00631, allocations: 0.9729 MB / 278.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.006517, allocations: 14.41 kB / 278.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.006689, allocations: 79.16 kB / 278.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.006938, allocations: 156.6 kB / 279 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.007258, allocations: 187.5 kB / 279.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005722/0.00783, allocations: 0.6496 MB / 279.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.008064, allocations: 136.6 kB / 280 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000398/0.008462, allocations: 371.1 kB / 280.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.008694, allocations: 187.5 kB / 280.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.008749, allocations: 56 kB / 280.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.008827, allocations: 63.98 kB / 280.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.008902, allocations: 131.5 kB / 280.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.009034, allocations: 183.5 kB / 281 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.009382, allocations: 418.5 kB / 281.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.009384, allocations: 0 / 281.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.009385, allocations: 0 / 281.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.009392, allocations: 8 kB / 281.4 MB, free: 13.08 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.0009245/0.01032, allocations: 0.9634 MB / 282.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.01035, allocations: 8.031 kB / 282.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.01051, allocations: 104.6 kB / 282.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.01081, allocations: 312.2 kB / 282.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.01083, allocations: 33.38 kB / 282.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.01088, allocations: 44.38 kB / 282.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.01122, allocations: 377.4 kB / 283.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.01124, allocations: 8.125 kB / 283.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.01127, allocations: 27.92 kB / 283.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.01128, allocations: 12 kB / 283.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.01145, allocations: 138.8 kB / 283.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.01283, allocations: 1.781 MB / 285.2 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.01315, allocations: 288.3 kB / 285.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.01341, allocations: 195.5 kB / 285.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.01343, allocations: 8.328 kB / 285.7 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.01365, allocations: 226.2 kB / 285.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.533e-06/0.01365, allocations: 0 / 285.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001075/0.01473, allocations: 0.5862 MB / 286.5 MB, free: 7.746 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.01476, allocations: 89.09 kB / 286.6 MB, free: 7.641 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.01495, allocations: 338.1 kB / 286.9 MB, free: 7.293 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.01497, allocations: 33.7 kB / 286.9 MB, free: 7.254 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.01509, allocations: 276 kB / 287.2 MB, free: 6.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.01517, allocations: 142.8 kB / 287.3 MB, free: 6.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.01526, allocations: 99.75 kB / 287.4 MB, free: 6.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.01539, allocations: 0.5195 MB / 287.9 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.01547, allocations: 44.97 kB / 288 MB, free: 6.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.01562, allocations: 260.9 kB / 288.2 MB, free: 5.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.01586, allocations: 302.6 kB / 288.5 MB, free: 5.453 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01586, allocations: 0 / 288.5 MB, free: 5.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003918/0.01625, allocations: 376.6 kB / 288.9 MB, free: 5.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.01626, allocations: 8 kB / 288.9 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01627, allocations: 4 kB / 288.9 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/0.0165, allocations: 99.59 kB / 289 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.01669, allocations: 71.89 kB / 289.1 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.01826, allocations: 2.561 MB / 291.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.01842, allocations: 47.72 kB / 291.7 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.01845, allocations: 12 kB / 291.7 MB, free: 2.16 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.0001288/0.01858, allocations: 200.3 kB / 291.9 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.01863, allocations: 51.77 kB / 291.9 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.01869, allocations: 48.3 kB / 292 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01869, allocations: 7.984 kB / 292 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.01869, allocations: 0 / 292 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.0187, allocations: 0 / 292 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007515/0.01945, allocations: 0.7132 MB / 292.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01945, allocations: 0 / 292.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.796e-05/0.01955, allocations: 35.92 kB / 292.7 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/0.01974, allocations: 95.59 kB / 292.8 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.01976, allocations: 15.94 kB / 292.9 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.02122, allocations: 2.554 MB / 295.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.02122, allocations: 4 kB / 295.4 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.02169, allocations: 0.5099 MB / 295.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.02178, allocations: 75.59 kB / 296 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.02182, allocations: 15.98 kB / 296 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.02193, allocations: 12 kB / 296 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.02199, allocations: 39.92 kB / 296.1 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.02201, allocations: 8 kB / 296.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.02211, allocations: 226.9 kB / 296.3 MB, free: 13.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02211, allocations: 0 / 296.3 MB, free: 13.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003634/0.02247, allocations: 147.8 kB / 296.4 MB, free: 13.23 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.0001016/0.02257, allocations: 115.2 kB / 296.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.02303, allocations: 497.4 kB / 297 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02303, allocations: 0 / 297 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.02332, allocations: 373.1 kB / 297.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.02361, allocations: 85.42 kB / 297.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.02476, allocations: 0.8188 MB / 298.3 MB, free: 11.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.756e-05/0.02485, allocations: 126.3 kB / 298.4 MB, free: 11.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.02499, allocations: 35.28 kB / 298.5 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.02515, allocations: 146.1 kB / 298.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02515, allocations: 0 / 298.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of Templates: time 0.009229/0.03438, allocations: 7.15 MB / 305.8 MB, free: 3.992 MB / 282.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.715618282556534]