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.001271/0.001271, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001191/0.001192, 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.748/1.748, 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.001363/0.001363, allocations: 47.94 kB / 280 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1602, allocations: 46.63 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.008303/0.1685, allocations: 6.175 MB / 332.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004732/0.1733, allocations: 1.652 MB / 334.4 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007592/0.1741, allocations: 35.81 kB / 334.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006657/0.1749, allocations: 238.4 kB / 334.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.1763, allocations: 377.9 kB / 335.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008976/0.1772, allocations: 303.7 kB / 335.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00236/0.1796, allocations: 2.269 MB / 337.6 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.1819, allocations: 1.994 MB / 339.6 MB, free: 7.762 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.1836, allocations: 0.8836 MB / 340.5 MB, free: 6.875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.1851, allocations: 1.159 MB / 341.7 MB, free: 5.711 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003544/0.1855, allocations: 192 kB / 341.8 MB, free: 5.523 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008971/0.1864, allocations: 327.7 kB / 342.2 MB, free: 5.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006662/0.1871, allocations: 0.5996 MB / 342.8 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.1884, allocations: 1.116 MB / 343.9 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003437/0.1919, allocations: 3.501 MB / 347.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1919, allocations: 0 / 347.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1919, allocations: 0 / 347.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.72e-05/0.192, allocations: 0 / 347.4 MB, free: 15.97 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.005033/0.197, allocations: 2.468 MB / 349.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.1971, allocations: 12.03 kB / 349.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000492/0.1976, allocations: 230.2 kB / 350.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/0.1996, allocations: 1.17 MB / 351.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.1998, allocations: 156.5 kB / 351.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.2001, allocations: 216.1 kB / 351.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/0.2043, allocations: 2.607 MB / 354.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.2044, allocations: 0 / 354.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.2045, allocations: 87.98 kB / 354.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.757e-05/0.2046, allocations: 52 kB / 354.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003338/0.208, allocations: 2.077 MB / 356.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.2196, allocations: 7.412 MB / 363.8 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.2222, allocations: 2.362 MB / 366.2 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.2237, allocations: 0.9394 MB / 367.2 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.834e-05/0.2238, allocations: 12.94 kB / 367.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.2238, allocations: 47.55 kB / 367.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.687e-06/0.2239, allocations: 4 kB / 367.2 MB, free: 11.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.008554/0.2324, allocations: 4.173 MB / 371.4 MB, free: 7.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.2325, allocations: 64.34 kB / 371.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.2338, allocations: 0.8602 MB / 372.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.083e-05/0.2338, allocations: 45.7 kB / 372.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005764/0.2344, allocations: 0.8294 MB / 373.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.2347, allocations: 327.2 kB / 373.5 MB, free: 5.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.235, allocations: 174.6 kB / 373.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2352, allocations: 349.9 kB / 374 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.2359, allocations: 0.4937 MB / 374.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009119/0.2369, allocations: 0.6694 MB / 375.2 MB, free: 3.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.2386, allocations: 1.197 MB / 376.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2386, allocations: 0 / 376.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002739/0.2414, allocations: 1.62 MB / 378 MB, free: 376 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.2414, allocations: 7.984 kB / 378 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.2414, allocations: 8 kB / 378 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2395/0.4809, allocations: 465 kB / 378.5 MB, free: 51.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009639/0.482, allocations: 174.1 kB / 378.6 MB, free: 51.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008771/0.4907, allocations: 8.454 MB / 387.1 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007897/0.4916, allocations: 47.41 kB / 387.1 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.4917, allocations: 31.77 kB / 387.2 MB, free: 45.95 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 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001288/0.493, allocations: 0.6431 MB / 387.8 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.4933, allocations: 101.1 kB / 387.9 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.4935, allocations: 138.6 kB / 388 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/0.4935, allocations: 11.72 kB / 388.1 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.4936, allocations: 2.156 kB / 388.1 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.4936, allocations: 4.641 kB / 388.1 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00779/0.5014, allocations: 3.5 MB / 391.6 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.5014, allocations: 0 / 391.6 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.5021, allocations: 127 kB / 391.7 MB, free: 44.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.5033, allocations: 460.2 kB / 392.1 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/0.5034, allocations: 17.03 kB / 392.2 MB, free: 43.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008546/0.5119, allocations: 8.359 MB / 400.5 MB, free: 37.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.512, allocations: 1.5 kB / 400.5 MB, free: 37.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004262/0.5162, allocations: 2.301 MB / 402.8 MB, free: 36.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007035/0.517, allocations: 285.4 kB / 403.1 MB, free: 36.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/0.5172, allocations: 25.48 kB / 403.1 MB, free: 36.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006571/0.5179, allocations: 45.7 kB / 403.2 MB, free: 36.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/0.5182, allocations: 90.67 kB / 403.2 MB, free: 36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.5183, allocations: 29.8 kB / 403.3 MB, free: 35.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001296/0.5196, allocations: 0.6054 MB / 403.9 MB, free: 35.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5196, allocations: 0 / 403.9 MB, free: 35.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002182/0.5218, allocations: 379.7 kB / 404.3 MB, free: 35.62 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003575/0.5222, allocations: 142.5 kB / 404.4 MB, free: 35.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002848/0.525, allocations: 1.803 MB / 406.2 MB, free: 34.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5251, allocations: 0 / 406.2 MB, free: 34.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.5268, allocations: 1.235 MB / 407.4 MB, free: 33.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.5282, allocations: 283.5 kB / 407.7 MB, free: 33.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008012/0.5362, allocations: 4.497 MB / 412.2 MB, free: 29.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/0.5383, allocations: 1.714 MB / 413.9 MB, free: 27.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006929/0.539, allocations: 192.9 kB / 414.1 MB, free: 27.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.5392, allocations: 59.44 kB / 414.2 MB, free: 27.23 MB / 318.1 MB Notification: Performance of SimCode: time 1.773e-06/0.5392, allocations: 2.297 kB / 414.2 MB, free: 27.23 MB / 318.1 MB Notification: Performance of Templates: time 0.03637/0.5756, allocations: 19.65 MB / 433.8 MB, free: 7.578 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (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) 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