Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007794/0.0007794, allocations: 91.61 kB / 22.19 MB, free: 2.383 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.0007677/0.0007677, allocations: 161.7 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.853/0.853, allocations: 158.6 MB / 187.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.123e-06/1.123e-06, allocations: 0 / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.597e-05, allocations: 2.281 kB / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.003798/0.003814, allocations: 4.246 MB / 304 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.005706, allocations: 1.309 MB / 305.3 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.005978, allocations: 31.69 kB / 305.3 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005084/0.006486, allocations: 230.3 kB / 305.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005856/0.007072, allocations: 377.5 kB / 305.9 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.007374, allocations: 219.5 kB / 306.1 MB, free: 476 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009603/0.008334, allocations: 1.591 MB / 307.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004647/0.008799, allocations: 0.5119 MB / 308.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006397/0.009439, allocations: 0.9317 MB / 309.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000906/0.01034, allocations: 0.6936 MB / 309.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.01047, allocations: 171.9 kB / 310 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.01061, allocations: 164 kB / 310.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.01086, allocations: 454.7 kB / 310.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.01116, allocations: 0.4911 MB / 311.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.0123, allocations: 2.115 MB / 313.2 MB, free: 9.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.0123, allocations: 4 kB / 313.2 MB, free: 9.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.0123, allocations: 0 / 313.2 MB, free: 9.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.01231, allocations: 3.938 kB / 313.2 MB, free: 9.316 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001769/0.01408, allocations: 1.849 MB / 315.1 MB, free: 7.418 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.01411, allocations: 11.98 kB / 315.1 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.01426, allocations: 152 kB / 315.2 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008259/0.01508, allocations: 0.8144 MB / 316.1 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.01513, allocations: 74.36 kB / 316.1 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.01523, allocations: 96.38 kB / 316.2 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.01688, allocations: 1.486 MB / 317.7 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.01691, allocations: 11.83 kB / 317.7 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.305e-05/0.01697, allocations: 43.92 kB / 317.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.01701, allocations: 46 kB / 317.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.01826, allocations: 1.288 MB / 319.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003401/0.02166, allocations: 3.745 MB / 322.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/0.02264, allocations: 0.989 MB / 323.8 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009649/0.0236, allocations: 0.685 MB / 324.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.02363, allocations: 8.594 kB / 324.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000568/0.0242, allocations: 0.6478 MB / 325.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 1.924e-06/0.0242, allocations: 0 / 325.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.003727/0.02793, allocations: 2.638 MB / 327.8 MB, free: 10.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.02799, allocations: 115.5 kB / 327.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/0.02859, allocations: 0.7855 MB / 328.7 MB, free: 9.559 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.02863, allocations: 41.7 kB / 328.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.02888, allocations: 492.7 kB / 329.2 MB, free: 9.023 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.02901, allocations: 257.8 kB / 329.5 MB, free: 8.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.02914, allocations: 130.6 kB / 329.6 MB, free: 8.637 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.02926, allocations: 394.8 kB / 330 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.02964, allocations: 389.7 kB / 330.4 MB, free: 7.863 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.03011, allocations: 0.5996 MB / 331 MB, free: 7.195 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.03116, allocations: 0.921 MB / 331.9 MB, free: 6.219 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.03116, allocations: 0 / 331.9 MB, free: 6.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00119/0.03235, allocations: 1.286 MB / 333.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.03237, allocations: 8 kB / 333.2 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.03237, allocations: 4 kB / 333.2 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006247/0.033, allocations: 472.5 kB / 333.7 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.03319, allocations: 95.83 kB / 333.7 MB, free: 4.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004483/0.03767, allocations: 5.359 MB / 339.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.03792, allocations: 87.64 kB / 339.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.03795, allocations: 20 kB / 339.2 MB, free: 14.78 MB / 330.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0003726/0.03832, allocations: 463.4 kB / 339.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.03839, allocations: 95.44 kB / 339.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.0385, allocations: 104.3 kB / 339.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.0385, allocations: 8 kB / 339.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.03851, allocations: 0 / 339.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.03851, allocations: 7.922 kB / 339.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.04069, allocations: 2.286 MB / 342.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.0407, allocations: 0 / 342.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.04086, allocations: 75.95 kB / 342.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005502/0.04141, allocations: 460.6 kB / 342.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.04144, allocations: 15.98 kB / 342.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004349/0.04579, allocations: 5.343 MB / 348 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.04579, allocations: 7.922 kB / 348.1 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.04746, allocations: 1.898 MB / 349.9 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.04771, allocations: 203.2 kB / 350.1 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.04777, allocations: 16 kB / 350.2 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.04797, allocations: 47.94 kB / 350.2 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.0481, allocations: 76.52 kB / 350.3 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.04813, allocations: 19.98 kB / 350.3 MB, free: 3.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004746/0.0486, allocations: 0.5615 MB / 350.9 MB, free: 2.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0486, allocations: 0 / 350.9 MB, free: 2.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006491/0.04925, allocations: 351.2 kB / 351.2 MB, free: 2.594 MB / 330.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0001537/0.0494, allocations: 123.2 kB / 351.3 MB, free: 2.465 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.05074, allocations: 1.251 MB / 352.6 MB, free: 1.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.05074, allocations: 0 / 352.6 MB, free: 1.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.05175, allocations: 0.7931 MB / 353.4 MB, free: 404 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.05234, allocations: 250.7 kB / 353.6 MB, free: 156 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1148/0.1671, allocations: 2.302 MB / 355.9 MB, free: 60.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.1676, allocations: 0.6985 MB / 356.6 MB, free: 60.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.1678, allocations: 55.8 kB / 356.7 MB, free: 60.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/0.1678, allocations: 1.375 kB / 356.7 MB, free: 60.42 MB / 330.7 MB Notification: Performance of Templates: time 0.01344/0.1812, allocations: 20.78 MB / 377.5 MB, free: 47.8 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.1555580934509635]