Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.000992/0.000992, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001026/0.001026, allocations: 167.1 kB / 24.99 MB, free: 8.336 MB / 18.57 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 1.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.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.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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.776e-05, allocations: 2.312 kB / 273.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00471/0.004738, allocations: 4.75 MB / 277.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.006975, allocations: 1.355 MB / 279.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003375/0.007312, allocations: 39.69 kB / 279.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006596/0.007972, allocations: 226.3 kB / 279.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006384/0.00861, allocations: 377.5 kB / 279.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.008926, allocations: 239.4 kB / 280 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.009972, allocations: 1.587 MB / 281.6 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005649/0.01054, allocations: 0.5476 MB / 282.2 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007817/0.01132, allocations: 0.9629 MB / 283.1 MB, free: 7.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007034/0.01202, allocations: 0.7483 MB / 283.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.01217, allocations: 164 kB / 284.1 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.01236, allocations: 172 kB / 284.2 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.01263, allocations: 466.6 kB / 284.7 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.01303, allocations: 0.5144 MB / 285.2 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009525/0.01398, allocations: 1.219 MB / 286.4 MB, free: 4.402 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.01399, allocations: 0 / 286.4 MB, free: 4.402 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01399, allocations: 0 / 286.4 MB, free: 4.402 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.014, allocations: 0 / 286.4 MB, free: 4.402 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.002148/0.01615, allocations: 2.153 MB / 288.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.01618, allocations: 12.03 kB / 288.6 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.01654, allocations: 248 kB / 288.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008471/0.01739, allocations: 0.856 MB / 289.7 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.01743, allocations: 78.36 kB / 289.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.01753, allocations: 96.38 kB / 289.8 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1142/0.1317, allocations: 0.8768 MB / 290.7 MB, free: 28.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.214e-05/0.1318, allocations: 1.938 kB / 290.7 MB, free: 28.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.132, allocations: 38.5 kB / 290.8 MB, free: 28.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.629e-05/0.1321, allocations: 42.88 kB / 290.8 MB, free: 28.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1332, allocations: 384.3 kB / 291.2 MB, free: 28.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003883/0.137, allocations: 3.62 MB / 294.8 MB, free: 26.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009776/0.138, allocations: 0.6109 MB / 295.4 MB, free: 26.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005851/0.1386, allocations: 372.1 kB / 295.8 MB, free: 26.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.1386, allocations: 15.31 kB / 295.8 MB, free: 26.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004913/0.1391, allocations: 403.2 kB / 296.2 MB, free: 25.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 3.316e-06/0.1391, allocations: 3.156 kB / 296.2 MB, free: 25.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.004107/0.1432, allocations: 1.885 MB / 298.1 MB, free: 25.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.1433, allocations: 118.1 kB / 298.2 MB, free: 25.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006674/0.144, allocations: 0.7076 MB / 298.9 MB, free: 25.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.144, allocations: 42.55 kB / 298.9 MB, free: 25.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.1442, allocations: 0.5588 MB / 299.5 MB, free: 24.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.1444, allocations: 256.3 kB / 299.7 MB, free: 24.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.1445, allocations: 141.5 kB / 299.9 MB, free: 24.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1447, allocations: 0.5976 MB / 300.5 MB, free: 23.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.1449, allocations: 106.2 kB / 300.6 MB, free: 23.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.1451, allocations: 382.4 kB / 301 MB, free: 23.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.1457, allocations: 456.1 kB / 301.4 MB, free: 23.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.1457, allocations: 1.094 kB / 301.4 MB, free: 23.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009024/0.1466, allocations: 0.6593 MB / 302.1 MB, free: 23.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1467, allocations: 6.875 kB / 302.1 MB, free: 23.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1467, allocations: 4.125 kB / 302.1 MB, free: 23.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005406/0.1472, allocations: 246.1 kB / 302.3 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1474, allocations: 96.5 kB / 302.4 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/0.1505, allocations: 3.776 MB / 306.2 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.1508, allocations: 77.81 kB / 306.3 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.1509, allocations: 30.81 kB / 306.3 MB, free: 19.99 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.0002032/0.1511, allocations: 205.3 kB / 306.5 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.1512, allocations: 120 kB / 306.6 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1513, allocations: 103.2 kB / 306.7 MB, free: 19.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1513, allocations: 11.64 kB / 306.7 MB, free: 19.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1513, allocations: 0 / 306.7 MB, free: 19.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1513, allocations: 6.016 kB / 306.7 MB, free: 19.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.153, allocations: 1.64 MB / 308.4 MB, free: 18.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.153, allocations: 2.938 kB / 308.4 MB, free: 18.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1531, allocations: 64.03 kB / 308.4 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/0.1535, allocations: 232.8 kB / 308.7 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.1535, allocations: 19.98 kB / 308.7 MB, free: 18.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.156, allocations: 3.72 MB / 312.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.156, allocations: 3.953 kB / 312.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.157, allocations: 0.8909 MB / 313.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.1572, allocations: 183.2 kB / 313.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.1573, allocations: 12 kB / 313.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.1575, allocations: 47.89 kB / 313.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.1576, allocations: 80.5 kB / 313.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.1576, allocations: 27.98 kB / 313.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002883/0.1579, allocations: 446.9 kB / 314.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1579, allocations: 4 kB / 314.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005283/0.1584, allocations: 355.2 kB / 314.4 MB, free: 12.57 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.0001192/0.1586, allocations: 129 kB / 314.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008484/0.1594, allocations: 0.8062 MB / 315.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1594, allocations: 0 / 315.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004774/0.1599, allocations: 0.6392 MB / 316 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.1605, allocations: 266.7 kB / 316.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.1626, allocations: 2.009 MB / 318.3 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.1628, allocations: 368 kB / 318.6 MB, free: 8.305 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000182/0.1629, allocations: 115.1 kB / 318.7 MB, free: 8.188 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.08e-05/0.163, allocations: 52.5 kB / 318.8 MB, free: 8.137 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.163, allocations: 4 kB / 318.8 MB, free: 8.133 MB / 266.7 MB Notification: Performance of Templates: time 0.01843/0.1815, allocations: 18.64 MB / 337.4 MB, free: 5.789 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.3239917689934373]