Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 94.7 kB / 16.94 MB, free: 5.98 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.001335/0.001335, allocations: 182.5 kB / 17.82 MB, free: 5.652 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.639/1.639, allocations: 205.4 MB / 224 MB, free: 13.02 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.0005469/0.0005471, allocations: 12 kB / 280.7 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1368, allocations: 47.59 MB / 328.3 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.007091/0.1439, allocations: 5.033 MB / 333.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004446/0.1484, allocations: 1.657 MB / 335 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.1497, allocations: 35.81 kB / 335 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.1508, allocations: 238.6 kB / 335.3 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.1528, allocations: 362.9 kB / 335.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1539, allocations: 219.6 kB / 335.8 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002962/0.1569, allocations: 1.35 MB / 337.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003205/0.1601, allocations: 1.593 MB / 338.8 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.1615, allocations: 0.6967 MB / 339.5 MB, free: 8.828 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.1635, allocations: 0.8557 MB / 340.3 MB, free: 7.969 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000696/0.1643, allocations: 120 kB / 340.5 MB, free: 7.852 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.1654, allocations: 235.8 kB / 340.7 MB, free: 7.621 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008826/0.1663, allocations: 482.5 kB / 341.2 MB, free: 7.148 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007431/0.1671, allocations: 432.6 kB / 341.6 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.1699, allocations: 2.883 MB / 344.5 MB, free: 3.828 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1699, allocations: 0 / 344.5 MB, free: 3.828 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1699, allocations: 0 / 344.5 MB, free: 3.828 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.306e-05/0.17, allocations: 0 / 344.5 MB, free: 3.828 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.003941/0.1739, allocations: 2.098 MB / 346.6 MB, free: 1.668 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.174, allocations: 16.03 kB / 346.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004632/0.1745, allocations: 225.3 kB / 346.8 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.1764, allocations: 1.146 MB / 347.9 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1765, allocations: 156.1 kB / 348.1 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.1768, allocations: 208 kB / 348.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/0.1812, allocations: 2.587 MB / 350.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.1812, allocations: 0 / 350.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.1814, allocations: 84 kB / 351 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/0.1815, allocations: 52 kB / 351 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003443/0.185, allocations: 2.081 MB / 353.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/0.197, allocations: 7.463 MB / 360.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.1995, allocations: 2.35 MB / 362.9 MB, free: 0.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.017e-05/0.1996, allocations: 12.94 kB / 362.9 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.1996, allocations: 39.56 kB / 363 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 4.88e-06/0.1997, allocations: 0 / 363 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.007883/0.2076, allocations: 4.368 MB / 367.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.2077, allocations: 60.41 kB / 367.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.2088, allocations: 0.8563 MB / 368.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.2089, allocations: 41.7 kB / 368.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005565/0.2095, allocations: 0.8256 MB / 369.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.2097, allocations: 335.1 kB / 369.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.2098, allocations: 27.92 kB / 369.5 MB, free: 9.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2099, allocations: 345.9 kB / 369.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007323/0.2106, allocations: 497.7 kB / 370.3 MB, free: 9.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/0.2116, allocations: 0.6738 MB / 371 MB, free: 8.414 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008305/0.2124, allocations: 0.5729 MB / 371.5 MB, free: 7.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2124, allocations: 0 / 371.5 MB, free: 7.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002573/0.215, allocations: 1.62 MB / 373.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.2151, allocations: 8 kB / 373.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2151, allocations: 4 kB / 373.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.2162, allocations: 474.9 kB / 373.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.2169, allocations: 171.7 kB / 373.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2478/0.4647, allocations: 8.604 MB / 382.4 MB, free: 47.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009834/0.4658, allocations: 50.02 kB / 382.5 MB, free: 47.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.4659, allocations: 38.8 kB / 382.5 MB, free: 47.51 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001544/0.4674, allocations: 0.6303 MB / 383.1 MB, free: 47.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003629/0.4678, allocations: 104.4 kB / 383.2 MB, free: 47.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.4681, allocations: 131.4 kB / 383.4 MB, free: 47.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.826e-05/0.4682, allocations: 12.09 kB / 383.4 MB, free: 47.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/0.4682, allocations: 4.688 kB / 383.4 MB, free: 47.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.4682, allocations: 11.98 kB / 383.4 MB, free: 47.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006903/0.4751, allocations: 3.51 MB / 386.9 MB, free: 46.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.4751, allocations: 1.188 kB / 386.9 MB, free: 46.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/0.4758, allocations: 127.8 kB / 387 MB, free: 46.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.4768, allocations: 456.3 kB / 387.5 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.369e-05/0.4769, allocations: 25.81 kB / 387.5 MB, free: 46.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007853/0.4847, allocations: 8.536 MB / 396 MB, free: 39.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4848, allocations: 4.125 kB / 396 MB, free: 39.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/0.4883, allocations: 2.341 MB / 398.4 MB, free: 38.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005611/0.4889, allocations: 282.6 kB / 398.6 MB, free: 38.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.489, allocations: 24.69 kB / 398.7 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.4895, allocations: 46.8 kB / 398.7 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.4897, allocations: 89.62 kB / 398.8 MB, free: 38.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.4897, allocations: 19.78 kB / 398.8 MB, free: 38.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000803/0.4906, allocations: 0.5973 MB / 399.4 MB, free: 38.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4906, allocations: 0 / 399.4 MB, free: 38.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001717/0.4923, allocations: 384.9 kB / 399.8 MB, free: 38.13 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000308/0.4926, allocations: 143.4 kB / 399.9 MB, free: 38.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002829/0.4954, allocations: 1.823 MB / 401.8 MB, free: 37.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4955, allocations: 0 / 401.8 MB, free: 37.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.4969, allocations: 1.241 MB / 403 MB, free: 36.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.498, allocations: 276.9 kB / 403.3 MB, free: 36.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.5034, allocations: 4.386 MB / 407.7 MB, free: 33.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.5045, allocations: 1.752 MB / 409.4 MB, free: 31.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005125/0.505, allocations: 196.9 kB / 409.6 MB, free: 31.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.5052, allocations: 67.31 kB / 409.7 MB, free: 31.26 MB / 318.1 MB Notification: Performance of SimCode: time 1.913e-06/0.5052, allocations: 0 / 409.7 MB, free: 31.26 MB / 318.1 MB Notification: Performance of Templates: time 0.02721/0.5324, allocations: 18.78 MB / 428.4 MB, free: 12.48 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches