Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) 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.Polyphase.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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 93.44 kB / 16.31 MB, free: 5.938 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.001527/0.001528, allocations: 181.8 kB / 17.21 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 241.2 MB, free: 5.43 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002294/0.0002296, allocations: 5.719 kB / 300.8 MB, free: 5.992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/0.09584, allocations: 50.43 MB / 351.2 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.00623/0.1021, allocations: 5.38 MB / 356.6 MB, free: 6.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.1057, allocations: 1.562 MB / 358.2 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.1069, allocations: 47.81 kB / 358.2 MB, free: 4.699 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009721/0.1079, allocations: 222.4 kB / 358.4 MB, free: 4.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.1098, allocations: 373.9 kB / 358.8 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009227/0.1108, allocations: 215.7 kB / 359 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002816/0.1136, allocations: 2.102 MB / 361.1 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/0.1165, allocations: 1.641 MB / 362.8 MB, free: 120 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.1177, allocations: 0.7199 MB / 363.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.1195, allocations: 0.9258 MB / 364.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003855/0.1199, allocations: 116 kB / 364.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007989/0.1207, allocations: 235.8 kB / 364.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007141/0.1214, allocations: 498.3 kB / 365.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007425/0.1222, allocations: 436.6 kB / 365.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002874/0.125, allocations: 2.887 MB / 368.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1251, allocations: 0 / 368.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1251, allocations: 0 / 368.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001205/0.1252, allocations: 0 / 368.5 MB, free: 10.3 MB / 302.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.004639/0.1298, allocations: 2.117 MB / 370.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1299, allocations: 12.03 kB / 370.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007926/0.1307, allocations: 229.3 kB / 370.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002276/0.133, allocations: 1.208 MB / 372.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.1331, allocations: 156.2 kB / 372.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004192/0.1336, allocations: 200 kB / 372.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005143/0.1387, allocations: 2.61 MB / 375.1 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.1388, allocations: 0 / 375.1 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.139, allocations: 80 kB / 375.1 MB, free: 3.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.736e-05/0.139, allocations: 56 kB / 375.2 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004333/0.1434, allocations: 2.085 MB / 377.3 MB, free: 1.344 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/0.1551, allocations: 7.439 MB / 384.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.1574, allocations: 2.354 MB / 387.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.1588, allocations: 0.9471 MB / 388 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.029e-05/0.1589, allocations: 16.98 kB / 388 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1589, allocations: 43.56 kB / 388.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.146e-06/0.1589, allocations: 0 / 388.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.007713/0.1667, allocations: 4.197 MB / 392.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1667, allocations: 64.41 kB / 392.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.168, allocations: 0.8484 MB / 393.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.1681, allocations: 45.69 kB / 393.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000552/0.1686, allocations: 0.8334 MB / 394.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/0.1689, allocations: 327.3 kB / 394.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.169, allocations: 20 kB / 394.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1691, allocations: 349.9 kB / 394.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007906/0.1699, allocations: 497.7 kB / 395.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008656/0.1708, allocations: 0.6707 MB / 395.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008593/0.1717, allocations: 0.569 MB / 396.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.1717, allocations: 3.984 kB / 396.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002593/0.1743, allocations: 1.62 MB / 398.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.1744, allocations: 12.12 kB / 398.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.1744, allocations: 7.984 kB / 398.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.1755, allocations: 462.9 kB / 398.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.1762, allocations: 179.8 kB / 398.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008882/0.1851, allocations: 8.447 MB / 407.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000808/0.186, allocations: 51.95 kB / 407.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.1861, allocations: 35.98 kB / 407.3 MB, free: 2.121 MB / 334.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.001358/0.1875, allocations: 0.6342 MB / 407.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/0.1878, allocations: 114.7 kB / 408 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.1881, allocations: 130 kB / 408.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.629e-05/0.1882, allocations: 12 kB / 408.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.1882, allocations: 4 kB / 408.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.1882, allocations: 3.984 kB / 408.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006393/0.1946, allocations: 3.52 MB / 411.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.1946, allocations: 4 kB / 411.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.1952, allocations: 127.9 kB / 411.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.1962, allocations: 454.9 kB / 412.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.1963, allocations: 20.11 kB / 412.3 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008045/0.2044, allocations: 8.374 MB / 420.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.2044, allocations: 0 / 420.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003467/0.2079, allocations: 2.311 MB / 423 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005055/0.2084, allocations: 283.8 kB / 423.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.2086, allocations: 20 kB / 423.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.2091, allocations: 47.91 kB / 423.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.2093, allocations: 84.86 kB / 423.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/0.2093, allocations: 24 kB / 423.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008235/0.2102, allocations: 0.6044 MB / 424 MB, free: 0.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2102, allocations: 0 / 424 MB, free: 0.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001508/0.2117, allocations: 384 kB / 424.4 MB, free: 300 kB / 350.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.0002732/0.212, allocations: 143 kB / 424.5 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.1881/0.4001, allocations: 1.812 MB / 426.3 MB, free: 63.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.4001, allocations: 1.219 kB / 426.3 MB, free: 63.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.4017, allocations: 1.23 MB / 427.6 MB, free: 63.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.4032, allocations: 292.9 kB / 427.9 MB, free: 63.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006541/0.4098, allocations: 4.385 MB / 432.3 MB, free: 61.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/0.4114, allocations: 1.724 MB / 434 MB, free: 60.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006823/0.4121, allocations: 185.8 kB / 434.2 MB, free: 60.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.4123, allocations: 65.03 kB / 434.2 MB, free: 60.36 MB / 350.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4123, allocations: 0 / 434.2 MB, free: 60.36 MB / 350.1 MB Notification: Performance of Templates: time 0.02687/0.4392, allocations: 18.88 MB / 453.1 MB, free: 49.06 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches