Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001256/0.001256, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001382/0.001382, allocations: 210.9 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.397/1.397, allocations: 230.5 MB / 258.1 MB, free: 8.141 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 75.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2675, allocations: 53.32 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008658/0.2762, allocations: 6.305 MB / 438.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004057/0.2802, allocations: 1.702 MB / 440.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009383/0.2812, allocations: 51.81 kB / 440.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007722/0.282, allocations: 305.5 kB / 440.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.2834, allocations: 433.2 kB / 440.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007001/0.2841, allocations: 355.4 kB / 441.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002353/0.2864, allocations: 2.145 MB / 443.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.2883, allocations: 1.405 MB / 444.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.2896, allocations: 1.036 MB / 445.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.2914, allocations: 1.237 MB / 447 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003713/0.2918, allocations: 288 kB / 447.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007091/0.2925, allocations: 423.7 kB / 447.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007229/0.2932, allocations: 0.7051 MB / 448.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.295, allocations: 1.233 MB / 449.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004062/0.2991, allocations: 3.644 MB / 453.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2991, allocations: 3.938 kB / 453.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2991, allocations: 0 / 453.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.237e-05/0.2992, allocations: 4 kB / 453.3 MB, free: 1.988 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.005121/0.3043, allocations: 2.528 MB / 455.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3043, allocations: 12.03 kB / 455.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007161/0.3051, allocations: 271.4 kB / 456.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.3075, allocations: 1.303 MB / 457.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.3076, allocations: 152.5 kB / 457.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/0.3079, allocations: 211.9 kB / 457.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00443/0.3123, allocations: 2.61 MB / 460.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/0.3123, allocations: 7.938 kB / 460.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.3125, allocations: 83.98 kB / 460.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.067e-05/0.3126, allocations: 55.98 kB / 460.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003576/0.3162, allocations: 2.085 MB / 462.6 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.3278, allocations: 7.309 MB / 469.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.3302, allocations: 2.292 MB / 472.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.3317, allocations: 0.8927 MB / 473.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.3317, allocations: 13 kB / 473.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.3318, allocations: 43.56 kB / 473.1 MB, free: 13.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 2.755e-06/0.3318, allocations: 0 / 473.1 MB, free: 13.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.00786/0.3396, allocations: 4.192 MB / 477.3 MB, free: 9.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.3397, allocations: 64.34 kB / 477.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.3409, allocations: 0.8681 MB / 478.3 MB, free: 8.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.618e-05/0.3409, allocations: 41.7 kB / 478.3 MB, free: 8.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006256/0.3416, allocations: 0.8631 MB / 479.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.3419, allocations: 341.1 kB / 479.5 MB, free: 6.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.3421, allocations: 182.5 kB / 479.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3423, allocations: 345.9 kB / 480 MB, free: 6.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007659/0.3431, allocations: 493.7 kB / 480.5 MB, free: 5.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009096/0.344, allocations: 0.6733 MB / 481.2 MB, free: 5.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.3457, allocations: 1.209 MB / 482.4 MB, free: 3.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3457, allocations: 0 / 482.4 MB, free: 3.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002698/0.3484, allocations: 1.617 MB / 484 MB, free: 2.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3484, allocations: 4 kB / 484 MB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.3484, allocations: 15.88 kB / 484 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.3495, allocations: 463 kB / 484.5 MB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.3501, allocations: 171.8 kB / 484.6 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009519/0.3597, allocations: 9.291 MB / 493.9 MB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/0.3604, allocations: 63.83 kB / 494 MB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/0.3604, allocations: 36 kB / 494 MB, free: 7.711 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.001065/0.3615, allocations: 0.6379 MB / 494.7 MB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.3617, allocations: 107.3 kB / 494.8 MB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.362, allocations: 138.1 kB / 494.9 MB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/0.362, allocations: 12 kB / 494.9 MB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.362, allocations: 4 kB / 494.9 MB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.362, allocations: 11.91 kB / 494.9 MB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005913/0.368, allocations: 3.454 MB / 498.4 MB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.368, allocations: 8.062 kB / 498.4 MB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.3685, allocations: 131.8 kB / 498.5 MB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009861/0.3695, allocations: 451 kB / 499 MB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/0.3696, allocations: 20 kB / 499 MB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009367/0.3789, allocations: 9.211 MB / 0.4963 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3789, allocations: 0 / 0.4963 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/0.3826, allocations: 2.305 MB / 0.4985 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006328/0.3832, allocations: 280.4 kB / 0.4988 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.3833, allocations: 19.98 kB / 0.4988 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.3838, allocations: 47.89 kB / 0.4989 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.384, allocations: 84.88 kB / 0.4989 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.3841, allocations: 28 kB / 0.499 GB, free: 6.059 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008357/0.3849, allocations: 0.6122 MB / 0.4996 GB, free: 5.453 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3849, allocations: 0 / 0.4996 GB, free: 5.453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001446/0.3863, allocations: 383.9 kB / 0.4999 GB, free: 5.078 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.000293/0.3866, allocations: 154 kB / 0.5001 GB, free: 4.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0028/0.3894, allocations: 1.776 MB / 0.5018 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3894, allocations: 0 / 0.5018 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.3912, allocations: 1.208 MB / 0.503 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.3925, allocations: 294.9 kB / 0.5033 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00615/0.3986, allocations: 3.676 MB / 0.5069 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.4001, allocations: 1.691 MB / 0.5085 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.4004, allocations: 75.42 kB / 0.5086 GB, free: 12.03 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4004, allocations: 0 / 0.5086 GB, free: 12.03 MB / 430.1 MB Notification: Performance of Templates: time 0.2525/0.6529, allocations: 58.86 MB / 0.5661 GB, free: 81.22 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.682179401163012]