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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 108.1 kB / 17.15 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 51.92 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1301, allocations: 46.63 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007636/0.1378, allocations: 4.677 MB / 331.3 MB, free: 180 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004552/0.1424, allocations: 1.325 MB / 332.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.1435, allocations: 23.88 kB / 332.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.1444, allocations: 178.9 kB / 332.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.1455, allocations: 326.3 kB / 333.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.1461, allocations: 191.8 kB / 333.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00204/0.1481, allocations: 1.775 MB / 335.1 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.1492, allocations: 0.7592 MB / 335.9 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.1502, allocations: 0.5214 MB / 336.4 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.1513, allocations: 0.7158 MB / 337.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.1515, allocations: 92 kB / 337.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.1517, allocations: 88 kB / 337.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003438/0.152, allocations: 362.8 kB / 337.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006975/0.1527, allocations: 0.6374 MB / 338.3 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.1545, allocations: 1.978 MB / 340.2 MB, free: 7.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1546, allocations: 0 / 340.2 MB, free: 7.18 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1546, allocations: 4 kB / 340.2 MB, free: 7.176 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.1546, allocations: 0 / 340.2 MB, free: 7.176 MB / 286.1 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.003533/0.1581, allocations: 1.619 MB / 341.9 MB, free: 5.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/0.1582, allocations: 8.031 kB / 341.9 MB, free: 5.492 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.1586, allocations: 143.2 kB / 342 MB, free: 5.352 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.1601, allocations: 0.8683 MB / 342.9 MB, free: 4.441 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.982e-05/0.1601, allocations: 74.38 kB / 343 MB, free: 4.371 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.1603, allocations: 100.1 kB / 343.1 MB, free: 4.273 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.163, allocations: 1.431 MB / 344.5 MB, free: 2.809 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.163, allocations: 4 kB / 344.5 MB, free: 2.805 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.1631, allocations: 40 kB / 344.5 MB, free: 2.766 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.993e-05/0.1632, allocations: 41.94 kB / 344.6 MB, free: 2.727 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.1655, allocations: 1.288 MB / 345.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006742/0.1722, allocations: 4.328 MB / 350.2 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.1744, allocations: 1.97 MB / 352.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009067/0.1754, allocations: 0.622 MB / 352.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.659e-05/0.1754, allocations: 12.66 kB / 352.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000919/0.1764, allocations: 0.5937 MB / 353.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.404e-06/0.1764, allocations: 0 / 353.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.00712/0.1835, allocations: 2.836 MB / 356.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/0.1836, allocations: 119.5 kB / 356.3 MB, free: 6.555 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.1848, allocations: 0.8246 MB / 357.2 MB, free: 5.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.1848, allocations: 41.7 kB / 357.2 MB, free: 5.672 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.1853, allocations: 483.8 kB / 357.7 MB, free: 5.191 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.1856, allocations: 244.5 kB / 357.9 MB, free: 4.949 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.1858, allocations: 134.6 kB / 358 MB, free: 4.812 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.186, allocations: 398.7 kB / 358.4 MB, free: 4.414 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006535/0.1867, allocations: 393.7 kB / 358.8 MB, free: 4.027 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007486/0.1874, allocations: 0.5532 MB / 359.4 MB, free: 3.418 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.1887, allocations: 0.9114 MB / 360.3 MB, free: 2.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1888, allocations: 0 / 360.3 MB, free: 2.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002132/0.1909, allocations: 1.315 MB / 361.6 MB, free: 1.129 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.1909, allocations: 4 kB / 361.6 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.191, allocations: 4 kB / 361.6 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.1921, allocations: 480.4 kB / 362.1 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.1925, allocations: 95.83 kB / 362.2 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006916/0.1994, allocations: 5.121 MB / 367.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/0.2001, allocations: 83.39 kB / 367.4 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.2002, allocations: 28 kB / 367.4 MB, free: 11.19 MB / 318.1 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_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.0008277/0.201, allocations: 463.2 kB / 367.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.2012, allocations: 87 kB / 367.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.2014, allocations: 108.6 kB / 368 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2014, allocations: 8 kB / 368 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2014, allocations: 0 / 368 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.2015, allocations: 3.984 kB / 368 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003992/0.2055, allocations: 2.615 MB / 370.7 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.2055, allocations: 3.938 kB / 370.7 MB, free: 7.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.2058, allocations: 67.89 kB / 370.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009946/0.2068, allocations: 456.4 kB / 371.2 MB, free: 7.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.2068, allocations: 19.92 kB / 371.2 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006595/0.2134, allocations: 5.087 MB / 376.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2135, allocations: 0 / 376.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.2165, allocations: 1.916 MB / 378.2 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2427/0.4592, allocations: 267.6 kB / 378.5 MB, free: 53.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/0.4597, allocations: 17.94 kB / 378.5 MB, free: 53.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.4603, allocations: 38.27 kB / 378.5 MB, free: 53.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004251/0.4607, allocations: 74.61 kB / 378.6 MB, free: 53.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/0.4608, allocations: 22.52 kB / 378.6 MB, free: 53.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.462, allocations: 0.5909 MB / 379.2 MB, free: 53.81 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.462, allocations: 0 / 379.2 MB, free: 53.81 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001994/0.464, allocations: 342.7 kB / 379.5 MB, free: 53.81 MB / 318.1 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0003001/0.4644, allocations: 124.9 kB / 379.7 MB, free: 53.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003307/0.4677, allocations: 1.276 MB / 380.9 MB, free: 53.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4677, allocations: 0 / 380.9 MB, free: 53.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.4691, allocations: 0.8237 MB / 381.8 MB, free: 53.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.4704, allocations: 258 kB / 382 MB, free: 53.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/0.4763, allocations: 2.779 MB / 384.8 MB, free: 52.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/0.4778, allocations: 1.33 MB / 386.1 MB, free: 51.26 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008056/0.4786, allocations: 141.1 kB / 386.3 MB, free: 51.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.4788, allocations: 52.23 kB / 386.3 MB, free: 51.24 MB / 318.1 MB Notification: Performance of SimCode: time 2.415e-06/0.4788, allocations: 0 / 386.3 MB, free: 51.24 MB / 318.1 MB Notification: Performance of Templates: time 0.02942/0.5082, allocations: 18.53 MB / 404.8 MB, free: 39.3 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches