Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 76.06 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 140.2 kB / 24.98 MB, free: 8.824 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9585/0.9585, allocations: 173.4 MB / 201.5 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.016e-05, allocations: 6.312 kB / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004523/0.004544, allocations: 4.7 MB / 272.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.006035, allocations: 1.285 MB / 274.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.006271, allocations: 35.75 kB / 274.1 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.006771, allocations: 234.4 kB / 274.3 MB, free: 436 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.007288, allocations: 385.5 kB / 274.7 MB, free: 48 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.007535, allocations: 211.6 kB / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009317/0.008467, allocations: 1.568 MB / 276.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005256/0.008992, allocations: 0.5475 MB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006216/0.009614, allocations: 0.9551 MB / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.01023, allocations: 0.7405 MB / 278.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.01036, allocations: 164 kB / 278.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.01051, allocations: 164 kB / 279.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.01078, allocations: 470.7 kB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.01114, allocations: 0.5067 MB / 280 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008789/0.01202, allocations: 1.219 MB / 281.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01202, allocations: 0 / 281.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01202, allocations: 0 / 281.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.01203, allocations: 0 / 281.2 MB, free: 9.477 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.002328/0.01436, allocations: 2.141 MB / 283.4 MB, free: 7.277 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.01439, allocations: 8.922 kB / 283.4 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.01461, allocations: 220 kB / 283.6 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000869/0.01547, allocations: 0.8249 MB / 284.4 MB, free: 6.199 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/0.01552, allocations: 70.38 kB / 284.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.01562, allocations: 104.4 kB / 284.6 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.01665, allocations: 0.88 MB / 285.5 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.01667, allocations: 3.938 kB / 285.5 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.464e-05/0.01674, allocations: 36 kB / 285.5 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/0.01679, allocations: 49.98 kB / 285.6 MB, free: 5.008 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007058/0.0175, allocations: 379.6 kB / 285.9 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/0.0208, allocations: 3.619 MB / 289.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007565/0.02156, allocations: 0.6107 MB / 290.2 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1018/0.1233, allocations: 375.6 kB / 290.5 MB, free: 29.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.503e-05/0.1234, allocations: 12.44 kB / 290.6 MB, free: 29.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005967/0.124, allocations: 404.9 kB / 291 MB, free: 28.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.524e-06/0.124, allocations: 0.5 kB / 291 MB, free: 28.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.004009/0.128, allocations: 1.884 MB / 292.8 MB, free: 28.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.1281, allocations: 114.4 kB / 292.9 MB, free: 28.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000665/0.1287, allocations: 0.6879 MB / 293.6 MB, free: 28.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.1288, allocations: 41.7 kB / 293.7 MB, free: 28.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.1291, allocations: 0.5439 MB / 294.2 MB, free: 28.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.1292, allocations: 264.4 kB / 294.5 MB, free: 28.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.1293, allocations: 141.2 kB / 294.6 MB, free: 28.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1295, allocations: 0.5857 MB / 295.2 MB, free: 27.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.1297, allocations: 106.4 kB / 295.3 MB, free: 27.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.13, allocations: 389.8 kB / 295.7 MB, free: 27.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.1305, allocations: 450.8 kB / 296.1 MB, free: 27.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1305, allocations: 1.062 kB / 296.1 MB, free: 27.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009366/0.1315, allocations: 0.6583 MB / 296.8 MB, free: 27.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1315, allocations: 6.625 kB / 296.8 MB, free: 27.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1315, allocations: 4.781 kB / 296.8 MB, free: 27.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/0.1321, allocations: 242 kB / 297 MB, free: 27.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.1323, allocations: 95.09 kB / 297.1 MB, free: 27.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/0.1355, allocations: 3.782 MB / 300.9 MB, free: 24.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.1358, allocations: 84.64 kB / 301 MB, free: 24.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.1359, allocations: 23.61 kB / 301 MB, free: 24.69 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.0001946/0.1361, allocations: 209.4 kB / 301.2 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.811e-05/0.1362, allocations: 114.8 kB / 301.3 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.78e-05/0.1363, allocations: 101.5 kB / 301.4 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1363, allocations: 6.688 kB / 301.4 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1363, allocations: 5.469 kB / 301.4 MB, free: 24.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1363, allocations: 10.64 kB / 301.5 MB, free: 24.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.1381, allocations: 1.638 MB / 303.1 MB, free: 23.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1381, allocations: 0 / 303.1 MB, free: 23.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.1383, allocations: 57.98 kB / 303.1 MB, free: 23.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/0.1387, allocations: 233.9 kB / 303.4 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.1388, allocations: 16.06 kB / 303.4 MB, free: 23.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002676/0.1414, allocations: 3.74 MB / 307.1 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1414, allocations: 0 / 307.1 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009384/0.1424, allocations: 0.8734 MB / 308 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.1426, allocations: 187.7 kB / 308.2 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.1426, allocations: 9.906 kB / 308.2 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1428, allocations: 45.8 kB / 308.2 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.143, allocations: 83.55 kB / 308.3 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.143, allocations: 20.25 kB / 308.3 MB, free: 20.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002992/0.1433, allocations: 443.5 kB / 308.8 MB, free: 20.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1433, allocations: 0 / 308.8 MB, free: 20.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005753/0.1439, allocations: 346.9 kB / 309.1 MB, free: 20.02 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.0001149/0.144, allocations: 137.5 kB / 309.2 MB, free: 19.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008564/0.1449, allocations: 0.8155 MB / 310.1 MB, free: 19.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1449, allocations: 0 / 310.1 MB, free: 19.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.1453, allocations: 0.6325 MB / 310.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.1459, allocations: 262.5 kB / 311 MB, free: 18.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.1481, allocations: 1.989 MB / 312.9 MB, free: 16.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.1483, allocations: 368 kB / 313.3 MB, free: 16.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.1485, allocations: 121.5 kB / 313.4 MB, free: 16.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.542e-05/0.1486, allocations: 56.5 kB / 313.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1486, allocations: 0 / 313.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of Templates: time 0.01683/0.1654, allocations: 18.52 MB / 332 MB, free: 14.1 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2967222260776907]