Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 51.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2518, allocations: 53.38 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.00787/0.2597, allocations: 5.549 MB / 437.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003694/0.2634, allocations: 1.651 MB / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007825/0.2642, allocations: 55.69 kB / 439.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007515/0.2649, allocations: 313.4 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.2664, allocations: 445.2 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.2672, allocations: 351.5 kB / 440.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002701/0.2699, allocations: 2.149 MB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.272, allocations: 1.399 MB / 444.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.2734, allocations: 1.055 MB / 445.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.2754, allocations: 1.241 MB / 446.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004178/0.2758, allocations: 288 kB / 446.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007375/0.2765, allocations: 415.7 kB / 447.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006841/0.2772, allocations: 0.7129 MB / 447.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.2784, allocations: 0.992 MB / 448.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003911/0.2823, allocations: 3.651 MB / 452.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2823, allocations: 11.88 kB / 452.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2823, allocations: 0 / 452.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-05/0.2824, allocations: 4 kB / 452.6 MB, free: 2.367 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.00522/0.2876, allocations: 2.457 MB / 455 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2877, allocations: 8.031 kB / 455 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008259/0.2885, allocations: 267.5 kB / 455.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.2913, allocations: 1.254 MB / 456.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.2914, allocations: 156.5 kB / 456.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003578/0.2917, allocations: 208 kB / 456.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/0.2967, allocations: 2.643 MB / 459.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/0.2967, allocations: 3.938 kB / 459.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.2969, allocations: 80 kB / 459.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.622e-05/0.297, allocations: 55.98 kB / 459.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003849/0.3008, allocations: 2.089 MB / 461.8 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.3127, allocations: 6.317 MB / 468.1 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.3149, allocations: 1.306 MB / 469.4 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.3165, allocations: 0.8817 MB / 470.3 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.3165, allocations: 12.94 kB / 470.3 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.3166, allocations: 47.5 kB / 470.3 MB, free: 248 kB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.326e-06/0.3166, allocations: 0 / 470.3 MB, free: 248 kB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008091/0.3246, allocations: 3.887 MB / 474.2 MB, free: 12.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3247, allocations: 64.41 kB / 474.3 MB, free: 12.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.3259, allocations: 0.8444 MB / 475.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/0.3259, allocations: 41.7 kB / 475.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006434/0.3266, allocations: 0.8592 MB / 476 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/0.3269, allocations: 345 kB / 476.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/0.3272, allocations: 174.6 kB / 476.5 MB, free: 9.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3273, allocations: 353.9 kB / 476.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008242/0.3282, allocations: 0.4899 MB / 477.4 MB, free: 9.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009733/0.3291, allocations: 0.6694 MB / 478.1 MB, free: 8.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.331, allocations: 1.201 MB / 479.3 MB, free: 7.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.331, allocations: 4 kB / 479.3 MB, free: 7.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002789/0.3338, allocations: 1.609 MB / 480.9 MB, free: 5.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3338, allocations: 8.312 kB / 480.9 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.3338, allocations: 11.94 kB / 480.9 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.3349, allocations: 459 kB / 481.3 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/0.3357, allocations: 171.7 kB / 481.5 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009535/0.3452, allocations: 8.733 MB / 490.2 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.3459, allocations: 44.05 kB / 490.3 MB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.3459, allocations: 39.94 kB / 490.3 MB, free: 11.59 MB / 398.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.001044/0.347, allocations: 0.6419 MB / 491 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.3472, allocations: 107.3 kB / 491.1 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.3475, allocations: 125.9 kB / 491.2 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.599e-05/0.3475, allocations: 19.98 kB / 491.2 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3475, allocations: 4 kB / 491.2 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.3475, allocations: 11.98 kB / 491.2 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005818/0.3534, allocations: 3.042 MB / 494.3 MB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3534, allocations: 0 / 494.3 MB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.354, allocations: 123.8 kB / 494.4 MB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.355, allocations: 451 kB / 494.8 MB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/0.3551, allocations: 27.98 kB / 494.9 MB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009619/0.3647, allocations: 8.64 MB / 0.4917 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.3647, allocations: 4 kB / 0.4917 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/0.3685, allocations: 2.293 MB / 0.4939 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006162/0.3692, allocations: 207.3 kB / 0.4941 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.3693, allocations: 23.98 kB / 0.4942 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.3698, allocations: 47.88 kB / 0.4942 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.37, allocations: 96.83 kB / 0.4943 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.955e-05/0.3701, allocations: 20 kB / 0.4943 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000835/0.3709, allocations: 0.5888 MB / 0.4949 GB, free: 10.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3709, allocations: 0 / 0.4949 GB, free: 10.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001507/0.3724, allocations: 387.9 kB / 0.4953 GB, free: 10.24 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.0003013/0.3727, allocations: 140.7 kB / 0.4954 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002945/0.3756, allocations: 1.784 MB / 0.4971 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3756, allocations: 0 / 0.4971 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.3775, allocations: 1.204 MB / 0.4983 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.3788, allocations: 291 kB / 0.4986 GB, free: 6.715 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006432/0.3852, allocations: 3.66 MB / 0.5022 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.3866, allocations: 1.115 MB / 0.5033 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.387, allocations: 71.42 kB / 0.5033 GB, free: 1.785 MB / 414.1 MB Notification: Performance of SimCode: time 1.503e-06/0.387, allocations: 0 / 0.5033 GB, free: 1.785 MB / 414.1 MB Notification: Performance of Templates: time 0.2494/0.6363, allocations: 59.34 MB / 0.5613 GB, free: 86.63 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.98092620499665]