Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 122.8 kB / 19.18 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001903, allocations: 202.6 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 64.03 kB / 374.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1047, allocations: 53.32 MB / 427.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.2226/0.3272, allocations: 6.286 MB / 434.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.3307, allocations: 1.708 MB / 435.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006344/0.3313, allocations: 44.19 kB / 435.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.3319, allocations: 309.8 kB / 436.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.3334, allocations: 439.4 kB / 436.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007304/0.3341, allocations: 357.7 kB / 437 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002372/0.3365, allocations: 2.157 MB / 439.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/0.3385, allocations: 1.791 MB / 440.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.3402, allocations: 1.053 MB / 442 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.3424, allocations: 1.235 MB / 443.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005133/0.3429, allocations: 291.5 kB / 443.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008492/0.3437, allocations: 427.8 kB / 443.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006397/0.3444, allocations: 0.7119 MB / 444.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.3458, allocations: 1.243 MB / 445.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004755/0.3506, allocations: 3.648 MB / 449.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3506, allocations: 0 / 449.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.3506, allocations: 1.219 kB / 449.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001025/0.3507, allocations: 0 / 449.5 MB, free: 1.973 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.005038/0.3557, allocations: 2.542 MB / 452 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3557, allocations: 13.72 kB / 452.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007427/0.3565, allocations: 270.6 kB / 452.3 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.359, allocations: 1.302 MB / 453.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.3592, allocations: 157.5 kB / 453.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003196/0.3595, allocations: 209.8 kB / 454 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00491/0.3644, allocations: 2.625 MB / 456.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/0.3644, allocations: 5.031 kB / 456.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.3646, allocations: 81.47 kB / 456.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.3647, allocations: 79.42 kB / 456.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003791/0.3685, allocations: 2.094 MB / 458.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.3814, allocations: 7.492 MB / 466.3 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/0.3839, allocations: 2.284 MB / 468.6 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.3854, allocations: 0.8915 MB / 469.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.3855, allocations: 14.23 kB / 469.5 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.3855, allocations: 38.38 kB / 469.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.466e-06/0.3855, allocations: 0 / 469.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008183/0.3937, allocations: 4.205 MB / 473.8 MB, free: 2.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3937, allocations: 60.41 kB / 473.8 MB, free: 1.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.395, allocations: 0.8681 MB / 474.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.714e-05/0.3951, allocations: 37.7 kB / 474.7 MB, free: 1.074 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006368/0.3957, allocations: 0.8631 MB / 475.6 MB, free: 204 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/0.396, allocations: 345.2 kB / 475.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.3963, allocations: 170.6 kB / 476.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3965, allocations: 349.7 kB / 476.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007957/0.3973, allocations: 0.4899 MB / 476.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009224/0.3982, allocations: 0.6694 MB / 477.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.3999, allocations: 1.201 MB / 478.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3999, allocations: 4 kB / 478.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00275/0.4027, allocations: 1.621 MB / 480.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4027, allocations: 8 kB / 480.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.4027, allocations: 4 kB / 480.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.4038, allocations: 469.1 kB / 480.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/0.4045, allocations: 175.6 kB / 481.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009654/0.4141, allocations: 9.294 MB / 490.4 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008289/0.415, allocations: 47.95 kB / 490.4 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/0.415, allocations: 36 kB / 490.5 MB, free: 0.625 MB / 382.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.001287/0.4163, allocations: 0.6459 MB / 491.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.4166, allocations: 103.3 kB / 491.2 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.4169, allocations: 135.3 kB / 491.3 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/0.4169, allocations: 11.94 kB / 491.3 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.417, allocations: 4 kB / 491.3 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.417, allocations: 7.969 kB / 491.4 MB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006244/0.4232, allocations: 3.47 MB / 494.8 MB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.4232, allocations: 0 / 494.8 MB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.4238, allocations: 123.8 kB / 494.9 MB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009838/0.4248, allocations: 468.3 kB / 495.4 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.536e-05/0.4248, allocations: 20 kB / 495.4 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009423/0.4342, allocations: 9.214 MB / 0.4928 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4342, allocations: 3.938 kB / 0.4928 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003725/0.438, allocations: 2.301 MB / 0.4951 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000735/0.4387, allocations: 288.4 kB / 0.4953 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.4388, allocations: 23.98 kB / 0.4954 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004337/0.4393, allocations: 39.95 kB / 0.4954 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.4395, allocations: 84.88 kB / 0.4955 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/0.4395, allocations: 23.98 kB / 0.4955 GB, free: 14.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008777/0.4404, allocations: 0.616 MB / 0.4961 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4404, allocations: 4 kB / 0.4961 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00166/0.4421, allocations: 383.9 kB / 0.4965 GB, free: 13.98 MB / 414.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.0002809/0.4424, allocations: 143 kB / 0.4966 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002852/0.4452, allocations: 1.781 MB / 0.4983 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4452, allocations: 0 / 0.4983 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.447, allocations: 1.207 MB / 0.4995 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.4484, allocations: 301.8 kB / 0.4998 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006449/0.4549, allocations: 3.653 MB / 0.5034 GB, free: 6.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.4564, allocations: 1.695 MB / 0.505 GB, free: 5.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.4566, allocations: 67.42 kB / 0.5051 GB, free: 4.973 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4566, allocations: 0 / 0.5051 GB, free: 4.973 MB / 414.1 MB Notification: Performance of Templates: time 0.07083/0.5275, allocations: 59 MB / 0.5627 GB, free: 9.969 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.829537151032127]