Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001335/0.001335, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001014/0.001014, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9461/0.9461, allocations: 177 MB / 204.8 MB, free: 5.609 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 3.938 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.069e-05, allocations: 6.312 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004684/0.004705, allocations: 4.769 MB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.006883, allocations: 1.359 MB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004035/0.007286, allocations: 39.75 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.007892, allocations: 230.3 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007767/0.008669, allocations: 373.5 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.009044, allocations: 235.5 kB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.01008, allocations: 1.603 MB / 281.5 MB, free: 8.816 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005181/0.0106, allocations: 0.5476 MB / 282.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009651/0.01156, allocations: 0.9863 MB / 283.1 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.01219, allocations: 0.7482 MB / 283.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.01237, allocations: 164 kB / 284 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.0126, allocations: 176 kB / 284.1 MB, free: 6.172 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002645/0.01286, allocations: 462.7 kB / 284.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.01329, allocations: 0.5067 MB / 285.1 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.01435, allocations: 1.227 MB / 286.3 MB, free: 3.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.01436, allocations: 4 kB / 286.3 MB, free: 3.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01436, allocations: 0 / 286.3 MB, free: 3.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.406e-05/0.01439, allocations: 0 / 286.3 MB, free: 3.977 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002352/0.01675, allocations: 2.153 MB / 288.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.01679, allocations: 11.98 kB / 288.5 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004006/0.01719, allocations: 248 kB / 288.7 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/0.01806, allocations: 0.8384 MB / 289.6 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.0181, allocations: 74.38 kB / 289.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.0182, allocations: 104.4 kB / 289.7 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1127/0.1309, allocations: 0.8784 MB / 290.6 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.1309, allocations: 3.156 kB / 290.6 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.131, allocations: 37.88 kB / 290.7 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.764e-05/0.1311, allocations: 40.33 kB / 290.7 MB, free: 25.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008256/0.1319, allocations: 388 kB / 291.1 MB, free: 25.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/0.1356, allocations: 3.619 MB / 294.7 MB, free: 23.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000817/0.1364, allocations: 0.6028 MB / 295.3 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/0.137, allocations: 377.1 kB / 295.7 MB, free: 23.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.1371, allocations: 12.25 kB / 295.7 MB, free: 23.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005321/0.1376, allocations: 410.4 kB / 296.1 MB, free: 23.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.595e-06/0.1376, allocations: 3.031 kB / 296.1 MB, free: 23.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003979/0.1416, allocations: 1.881 MB / 298 MB, free: 22.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1416, allocations: 116.7 kB / 298.1 MB, free: 22.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006257/0.1422, allocations: 0.7061 MB / 298.8 MB, free: 22.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.1423, allocations: 41.27 kB / 298.8 MB, free: 22.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.1425, allocations: 0.5586 MB / 299.4 MB, free: 22.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.1427, allocations: 261.7 kB / 299.6 MB, free: 21.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.1428, allocations: 141.4 kB / 299.8 MB, free: 21.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1429, allocations: 0.5854 MB / 300.4 MB, free: 21.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.1432, allocations: 113.1 kB / 300.5 MB, free: 21.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.1435, allocations: 380.6 kB / 300.8 MB, free: 20.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.144, allocations: 453.4 kB / 301.3 MB, free: 20.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.144, allocations: 1.844 kB / 301.3 MB, free: 20.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008333/0.1448, allocations: 0.6632 MB / 302 MB, free: 20.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1448, allocations: 11.2 kB / 302 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1448, allocations: 4.875 kB / 302 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.1454, allocations: 242.2 kB / 302.2 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.1456, allocations: 92.77 kB / 302.3 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/0.1485, allocations: 3.789 MB / 306.1 MB, free: 17.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.1487, allocations: 80.5 kB / 306.2 MB, free: 17.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.1488, allocations: 26.91 kB / 306.2 MB, free: 17.51 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: 15 (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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.149, allocations: 209.2 kB / 306.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.1491, allocations: 116.8 kB / 306.5 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.035e-05/0.1491, allocations: 98.81 kB / 306.6 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1491, allocations: 8 kB / 306.6 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1491, allocations: 4 kB / 306.6 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1492, allocations: 3.984 kB / 306.6 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.1508, allocations: 1.65 MB / 308.3 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1508, allocations: 0 / 308.3 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.1509, allocations: 55.53 kB / 308.3 MB, free: 16.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004234/0.1513, allocations: 237.9 kB / 308.6 MB, free: 16.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.1514, allocations: 14.95 kB / 308.6 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.1538, allocations: 3.722 MB / 312.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1538, allocations: 0 / 312.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008933/0.1547, allocations: 0.8798 MB / 313.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.1549, allocations: 194.7 kB / 313.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.1549, allocations: 15.94 kB / 313.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.1551, allocations: 39.95 kB / 313.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.1553, allocations: 88.5 kB / 313.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.1553, allocations: 23.98 kB / 313.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002874/0.1556, allocations: 446.9 kB / 314 MB, free: 11.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1556, allocations: 0 / 314 MB, free: 11.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005588/0.1561, allocations: 352.1 kB / 314.3 MB, free: 10.68 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001143/0.1562, allocations: 125.6 kB / 314.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008222/0.1571, allocations: 0.8128 MB / 315.2 MB, free: 9.719 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1571, allocations: 0.875 kB / 315.2 MB, free: 9.719 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000463/0.1575, allocations: 0.6322 MB / 315.9 MB, free: 9.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.1581, allocations: 264.7 kB / 316.1 MB, free: 8.832 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.1602, allocations: 2.013 MB / 318.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.1604, allocations: 376 kB / 318.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.1606, allocations: 103.1 kB / 318.6 MB, free: 6.297 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.1607, allocations: 60.48 kB / 318.7 MB, free: 6.234 MB / 266.7 MB Notification: Performance of SimCode: time 9.61e-07/0.1607, allocations: 0 / 318.7 MB, free: 6.234 MB / 266.7 MB Notification: Performance of Templates: time 0.01939/0.1801, allocations: 19.44 MB / 338.1 MB, free: 3.113 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.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: 3.0888109281659126]