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.001484/0.001484, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.004397/0.004397, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 0.8937/0.8937, allocations: 177.1 MB / 205.3 MB, free: 5.484 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 9.12e-07/9.12e-07, allocations: 0 / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.288e-06/1.02e-05, allocations: 5.125 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.003865/0.003875, allocations: 4.657 MB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.0058, allocations: 1.405 MB / 279.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.006054, allocations: 35.75 kB / 279.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.006474, allocations: 230.3 kB / 279.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005333/0.007007, allocations: 381.5 kB / 280.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.00731, allocations: 231.5 kB / 280.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.008349, allocations: 1.607 MB / 282 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000494/0.008843, allocations: 0.5594 MB / 282.6 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007949/0.009638, allocations: 0.9707 MB / 283.5 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000654/0.01029, allocations: 0.7404 MB / 284.3 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.01043, allocations: 164 kB / 284.4 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.0106, allocations: 172 kB / 284.6 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.01086, allocations: 470.7 kB / 285.1 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.01121, allocations: 0.4989 MB / 285.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008302/0.01204, allocations: 1.231 MB / 286.8 MB, free: 3.871 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.01205, allocations: 4 kB / 286.8 MB, free: 3.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01205, allocations: 0 / 286.8 MB, free: 3.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.01206, allocations: 4 kB / 286.8 MB, free: 3.863 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.001455/0.01352, allocations: 1.49 MB / 288.3 MB, free: 2.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.496e-05/0.01354, allocations: 8.031 kB / 288.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.01383, allocations: 192.8 kB / 288.5 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.01448, allocations: 0.6145 MB / 289.1 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.01452, allocations: 70.38 kB / 289.2 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.914e-05/0.01462, allocations: 100.3 kB / 289.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/0.01539, allocations: 0.8253 MB / 290.1 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.01541, allocations: 3.938 kB / 290.1 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.214e-05/0.01547, allocations: 40 kB / 290.1 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.01551, allocations: 49.98 kB / 290.2 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.01588, allocations: 253.7 kB / 290.4 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.104/0.1199, allocations: 2.525 MB / 292.9 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/0.1205, allocations: 492.4 kB / 293.4 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.1209, allocations: 309.4 kB / 293.7 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.1209, allocations: 16.39 kB / 293.7 MB, free: 24.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003807/0.1213, allocations: 356.6 kB / 294.1 MB, free: 24.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.384e-06/0.1213, allocations: 1.156 kB / 294.1 MB, free: 24.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.002816/0.1241, allocations: 1.279 MB / 295.4 MB, free: 24.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.1242, allocations: 113.8 kB / 295.5 MB, free: 24.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.1246, allocations: 0.5522 MB / 296 MB, free: 23.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.1247, allocations: 39.25 kB / 296.1 MB, free: 23.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.1248, allocations: 405.8 kB / 296.5 MB, free: 23.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.1249, allocations: 254.2 kB / 296.7 MB, free: 23.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.1251, allocations: 128 kB / 296.8 MB, free: 23.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.207e-05/0.1251, allocations: 401 kB / 297.2 MB, free: 23.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1253, allocations: 70.73 kB / 297.3 MB, free: 23.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.1254, allocations: 280.3 kB / 297.6 MB, free: 23.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.1257, allocations: 362.1 kB / 297.9 MB, free: 22.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1258, allocations: 1.375 kB / 297.9 MB, free: 22.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005739/0.1263, allocations: 469.7 kB / 298.4 MB, free: 22.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1263, allocations: 7.25 kB / 298.4 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1263, allocations: 4.219 kB / 298.4 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/0.1268, allocations: 201.8 kB / 298.6 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.127, allocations: 96.94 kB / 298.7 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.1293, allocations: 2.774 MB / 301.5 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.1295, allocations: 67.7 kB / 301.5 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.1295, allocations: 20.78 kB / 301.6 MB, free: 21.15 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_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: 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.0001578/0.1297, allocations: 162.3 kB / 301.7 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.033e-05/0.1297, allocations: 82.64 kB / 301.8 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.477e-05/0.1298, allocations: 101.5 kB / 301.9 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1298, allocations: 8.25 kB / 301.9 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.1298, allocations: 3.938 kB / 301.9 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.1298, allocations: 3.75 kB / 301.9 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.131, allocations: 1.055 MB / 303 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.131, allocations: 2.938 kB / 303 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.1311, allocations: 50.34 kB / 303 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000372/0.1315, allocations: 205.5 kB / 303.2 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.1315, allocations: 12.86 kB / 303.2 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.1336, allocations: 2.777 MB / 306 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1336, allocations: 6.375 kB / 306 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.1341, allocations: 0.626 MB / 306.6 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.1343, allocations: 126.1 kB / 306.8 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/0.1344, allocations: 19.72 kB / 306.8 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1345, allocations: 26.64 kB / 306.8 MB, free: 18.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.1346, allocations: 68.16 kB / 306.9 MB, free: 18.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.1346, allocations: 20.08 kB / 306.9 MB, free: 18.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.1348, allocations: 272.1 kB / 307.2 MB, free: 18.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1348, allocations: 0 / 307.2 MB, free: 18.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004831/0.1353, allocations: 354.5 kB / 307.5 MB, free: 18.08 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,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 (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.0001174/0.1354, allocations: 110.2 kB / 307.6 MB, free: 18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006154/0.136, allocations: 0.6554 MB / 308.3 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.136, allocations: 7.062 kB / 308.3 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.1364, allocations: 0.5216 MB / 308.8 MB, free: 17.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.1369, allocations: 262.7 kB / 309.1 MB, free: 16.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.1388, allocations: 1.973 MB / 311 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.139, allocations: 315.9 kB / 311.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.1392, allocations: 95.12 kB / 311.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/0.1395, allocations: 257.1 kB / 311.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1395, allocations: 0 / 311.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of Templates: time 0.01866/0.1582, allocations: 19.61 MB / 331.3 MB, free: 11.07 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: 2.861370448023081]