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.001163/0.001163, allocations: 108.4 kB / 18.36 MB, free: 4.633 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.001121/0.001121, allocations: 191 kB / 19.29 MB, free: 3.703 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.456/1.456, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001635/0.001635, allocations: 51.94 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1185, allocations: 46.63 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.008934/0.1275, allocations: 6.183 MB / 334.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.1322, allocations: 1.691 MB / 336.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.1334, allocations: 39.81 kB / 336.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007562/0.1342, allocations: 297.5 kB / 336.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.1364, allocations: 421.3 kB / 337.3 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009121/0.1373, allocations: 347.5 kB / 337.7 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002973/0.1403, allocations: 2.153 MB / 339.8 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003127/0.1435, allocations: 2.382 MB / 342.2 MB, free: 6.156 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.1453, allocations: 1.032 MB / 343.2 MB, free: 5.121 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.147, allocations: 1.214 MB / 344.5 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.1474, allocations: 288 kB / 344.7 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000705/0.1482, allocations: 427.7 kB / 345.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006474/0.1488, allocations: 0.6974 MB / 345.9 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.1503, allocations: 1.229 MB / 347.1 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003696/0.154, allocations: 3.618 MB / 350.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1541, allocations: 0 / 350.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1541, allocations: 0 / 350.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.947e-05/0.1541, allocations: 0 / 350.7 MB, free: 13.64 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.005112/0.1593, allocations: 2.476 MB / 353.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1593, allocations: 11.89 kB / 353.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005464/0.1599, allocations: 230.2 kB / 353.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.1621, allocations: 1.174 MB / 354.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.1623, allocations: 152.5 kB / 354.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/0.1625, allocations: 212.1 kB / 354.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004953/0.1675, allocations: 2.614 MB / 357.6 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.1676, allocations: 0 / 357.6 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.1678, allocations: 80 kB / 357.6 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.099e-05/0.1678, allocations: 52 kB / 357.7 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004249/0.1721, allocations: 2.081 MB / 359.8 MB, free: 4.355 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.1834, allocations: 7.318 MB / 367.1 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.1858, allocations: 2.346 MB / 369.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.1873, allocations: 0.9472 MB / 370.4 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.902e-05/0.1873, allocations: 16.92 kB / 370.4 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.1874, allocations: 39.56 kB / 370.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.467e-06/0.1874, allocations: 0 / 370.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.007663/0.1951, allocations: 4.181 MB / 374.6 MB, free: 4.961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.1951, allocations: 64.34 kB / 374.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.1962, allocations: 0.8563 MB / 375.5 MB, free: 4.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/0.1962, allocations: 45.64 kB / 375.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000536/0.1968, allocations: 0.8333 MB / 376.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.197, allocations: 331.2 kB / 376.7 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.1973, allocations: 170.6 kB / 376.9 MB, free: 2.621 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1974, allocations: 349.9 kB / 377.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007317/0.1982, allocations: 0.4937 MB / 377.7 MB, free: 1.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008489/0.199, allocations: 0.6655 MB / 378.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1835/0.3826, allocations: 1.195 MB / 379.6 MB, free: 51.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.079e-05/0.3826, allocations: 2.906 kB / 379.6 MB, free: 51.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003187/0.3858, allocations: 1.621 MB / 381.2 MB, free: 51.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.3859, allocations: 10.89 kB / 381.2 MB, free: 51.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.3859, allocations: 5.375 kB / 381.2 MB, free: 51.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.3873, allocations: 472.1 kB / 381.7 MB, free: 51.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007567/0.388, allocations: 170.5 kB / 381.9 MB, free: 51.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008646/0.3967, allocations: 9.286 MB / 391.2 MB, free: 43.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008541/0.3976, allocations: 48.86 kB / 391.2 MB, free: 43.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.424e-05/0.3977, allocations: 32.2 kB / 391.2 MB, free: 43.77 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.001108/0.3988, allocations: 0.6399 MB / 391.9 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.3991, allocations: 107.1 kB / 392 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.3993, allocations: 130.9 kB / 392.1 MB, free: 43.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/0.3993, allocations: 16.31 kB / 392.1 MB, free: 43.33 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.3993, allocations: 1.25 kB / 392.1 MB, free: 43.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.3994, allocations: 5.062 kB / 392.1 MB, free: 43.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005955/0.4053, allocations: 3.481 MB / 395.6 MB, free: 41.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.4054, allocations: 1.281 kB / 395.6 MB, free: 41.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/0.406, allocations: 119.6 kB / 395.7 MB, free: 41.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009778/0.407, allocations: 467.7 kB / 396.2 MB, free: 41.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.4071, allocations: 23.58 kB / 396.2 MB, free: 41.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007124/0.4142, allocations: 9.195 MB / 405.4 MB, free: 34.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4142, allocations: 1.375 kB / 405.4 MB, free: 34.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.4172, allocations: 2.318 MB / 407.7 MB, free: 32.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005898/0.4179, allocations: 271.5 kB / 408 MB, free: 32.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.418, allocations: 19.38 kB / 408 MB, free: 32.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.4184, allocations: 43.08 kB / 408 MB, free: 32.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.4187, allocations: 91.61 kB / 408.1 MB, free: 32.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/0.4187, allocations: 31.44 kB / 408.2 MB, free: 32.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007003/0.4194, allocations: 0.606 MB / 408.8 MB, free: 32.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4194, allocations: 0 / 408.8 MB, free: 32.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001689/0.4211, allocations: 379.1 kB / 409.1 MB, free: 32.22 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.0002944/0.4214, allocations: 140.8 kB / 409.3 MB, free: 32.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00246/0.4239, allocations: 1.818 MB / 411.1 MB, free: 30.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4239, allocations: 0 / 411.1 MB, free: 30.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.4254, allocations: 1.246 MB / 412.3 MB, free: 29.79 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.4268, allocations: 303.2 kB / 412.6 MB, free: 29.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006346/0.4331, allocations: 3.588 MB / 416.2 MB, free: 25.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.4349, allocations: 1.722 MB / 417.9 MB, free: 24.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008224/0.4358, allocations: 188.9 kB / 418.1 MB, free: 23.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.4361, allocations: 67.42 kB / 418.2 MB, free: 23.91 MB / 318.1 MB Notification: Performance of SimCode: time 2.164e-06/0.4361, allocations: 4 kB / 418.2 MB, free: 23.9 MB / 318.1 MB Notification: Performance of Templates: time 0.03358/0.4697, allocations: 20.72 MB / 438.9 MB, free: 3.188 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches