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.001289/0.001289, allocations: 94.33 kB / 16.95 MB, free: 6.383 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.001205/0.001205, allocations: 182.4 kB / 17.84 MB, free: 5.98 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.745/1.745, allocations: 205.4 MB / 224 MB, free: 13.15 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.0007595/0.0007599, allocations: 12 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1541, allocations: 47.58 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005206/0.1593, allocations: 4.05 MB / 332.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.1627, allocations: 1.294 MB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005943/0.1634, allocations: 23.88 kB / 333.7 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007104/0.1641, allocations: 158.9 kB / 333.9 MB, free: 14.52 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5153:20-5153:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5164:20-5164:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.0009188/0.1651, allocations: 306.4 kB / 334.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.1656, allocations: 131.8 kB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002035/0.1676, allocations: 1.596 MB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.1686, allocations: 0.6622 MB / 336.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007915/0.1694, allocations: 478.1 kB / 337 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.1705, allocations: 0.6147 MB / 337.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.1707, allocations: 68 kB / 337.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1708, allocations: 64 kB / 337.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000373/0.1712, allocations: 322.9 kB / 338.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.1716, allocations: 269.1 kB / 338.4 MB, free: 10 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.1735, allocations: 1.644 MB / 340 MB, free: 8.355 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.1735, allocations: 0 / 340 MB, free: 8.355 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.1735, allocations: 4 kB / 340 MB, free: 8.352 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.659e-05/0.1736, allocations: 0 / 340 MB, free: 8.352 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.003299/0.1769, allocations: 1.416 MB / 341.4 MB, free: 6.879 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.76e-05/0.177, allocations: 8.031 kB / 341.4 MB, free: 6.871 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.1773, allocations: 142.4 kB / 341.6 MB, free: 6.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.1788, allocations: 0.8365 MB / 342.4 MB, free: 5.852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.252e-05/0.1789, allocations: 81.95 kB / 342.5 MB, free: 5.773 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.1791, allocations: 99.94 kB / 342.6 MB, free: 5.676 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/0.182, allocations: 1.423 MB / 344 MB, free: 4.219 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.1821, allocations: 7.844 kB / 344 MB, free: 4.211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.1822, allocations: 36 kB / 344.1 MB, free: 4.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-05/0.1823, allocations: 46 kB / 344.1 MB, free: 4.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.1848, allocations: 1.292 MB / 345.4 MB, free: 2.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007615/0.1924, allocations: 4.34 MB / 349.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.1947, allocations: 1.982 MB / 351.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.1959, allocations: 0.6259 MB / 352.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.679e-05/0.196, allocations: 12.64 kB / 352.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.197, allocations: 0.5975 MB / 353 MB, free: 10.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 3.596e-06/0.1971, allocations: 0 / 353 MB, free: 10.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007799/0.2049, allocations: 2.808 MB / 355.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.2051, allocations: 111.5 kB / 355.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.2067, allocations: 0.8091 MB / 356.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.807e-05/0.2068, allocations: 45.7 kB / 356.7 MB, free: 7.098 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006713/0.2074, allocations: 499.6 kB / 357.2 MB, free: 6.602 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.2078, allocations: 240.5 kB / 357.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.2078, allocations: 16 kB / 357.5 MB, free: 6.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002928/0.2081, allocations: 398.7 kB / 357.9 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007353/0.2089, allocations: 393.7 kB / 358.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008711/0.2098, allocations: 0.5532 MB / 358.8 MB, free: 4.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007764/0.2105, allocations: 445.9 kB / 359.2 MB, free: 4.516 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2106, allocations: 0 / 359.2 MB, free: 4.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00238/0.2129, allocations: 1.295 MB / 360.5 MB, free: 3.211 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.213, allocations: 4 kB / 360.5 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.213, allocations: 4 kB / 360.5 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.2142, allocations: 484.2 kB / 361 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.2146, allocations: 99.81 kB / 361.1 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008148/0.2228, allocations: 5.126 MB / 366.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009013/0.2237, allocations: 91.39 kB / 366.3 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.524e-05/0.2238, allocations: 24 kB / 366.3 MB, free: 13.25 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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.001198/0.225, allocations: 459.2 kB / 366.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.2252, allocations: 90.95 kB / 366.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.2255, allocations: 108.6 kB / 367 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.2255, allocations: 11.94 kB / 367 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.2256, allocations: 0 / 367 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.2256, allocations: 7.984 kB / 367 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005393/0.231, allocations: 2.631 MB / 369.6 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.231, allocations: 0 / 369.6 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.2314, allocations: 63.89 kB / 369.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/0.2325, allocations: 460.5 kB / 370.1 MB, free: 9.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.2326, allocations: 16 kB / 370.2 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007518/0.2401, allocations: 5.099 MB / 375.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2402, allocations: 0 / 375.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/0.2436, allocations: 1.923 MB / 377.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00063/0.2443, allocations: 279.8 kB / 377.5 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.2444, allocations: 16 kB / 377.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.2448, allocations: 47.95 kB / 377.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/0.2451, allocations: 72.53 kB / 377.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.2451, allocations: 16 kB / 377.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000989/0.2461, allocations: 0.5849 MB / 378.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2461, allocations: 0 / 378.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001381/0.2475, allocations: 343.1 kB / 378.5 MB, free: 0.8047 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002688/0.2478, allocations: 123.2 kB / 378.6 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.2091/0.4569, allocations: 1.282 MB / 379.9 MB, free: 53.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.457, allocations: 1.125 kB / 379.9 MB, free: 53.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.4584, allocations: 0.8281 MB / 380.8 MB, free: 53.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.4598, allocations: 272.8 kB / 381 MB, free: 53.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/0.4652, allocations: 2.697 MB / 383.7 MB, free: 52.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.4664, allocations: 1.325 MB / 385 MB, free: 51.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005984/0.467, allocations: 141.3 kB / 385.2 MB, free: 51.31 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.4672, allocations: 52.27 kB / 385.2 MB, free: 51.3 MB / 318.1 MB Notification: Performance of SimCode: time 2.014e-06/0.4672, allocations: 2.875 kB / 385.2 MB, free: 51.3 MB / 318.1 MB Notification: Performance of Templates: time 0.03056/0.4978, allocations: 17.78 MB / 403 MB, free: 41.04 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