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.001823/0.001823, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002242/0.002242, allocations: 212.7 kB / 24.48 MB, free: 3.977 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.568/1.568, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.001549/0.001549, allocations: 51.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.214, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007725/0.2217, allocations: 5.561 MB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00361/0.2253, allocations: 1.64 MB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004594/0.2258, allocations: 55.69 kB / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.2264, allocations: 313.5 kB / 439.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.2277, allocations: 445.2 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006771/0.2283, allocations: 355.5 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002271/0.2306, allocations: 2.137 MB / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.2324, allocations: 1.399 MB / 444.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.2338, allocations: 1.067 MB / 445.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.2353, allocations: 1.238 MB / 446.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003612/0.2357, allocations: 288 kB / 446.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007181/0.2364, allocations: 411.7 kB / 447.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006481/0.237, allocations: 0.709 MB / 447.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.2381, allocations: 0.9998 MB / 448.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003797/0.2419, allocations: 3.662 MB / 452.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2419, allocations: 0 / 452.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2419, allocations: 0 / 452.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-05/0.242, allocations: 0 / 452.6 MB, free: 2.355 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.004797/0.2468, allocations: 2.46 MB / 455 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2468, allocations: 8.031 kB / 455 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006989/0.2475, allocations: 263.5 kB / 455.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.25, allocations: 1.254 MB / 456.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.2501, allocations: 156.5 kB / 456.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003073/0.2504, allocations: 212.1 kB / 456.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00453/0.255, allocations: 2.643 MB / 459.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/0.255, allocations: 3.938 kB / 459.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.2552, allocations: 84 kB / 459.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.741e-05/0.2553, allocations: 52 kB / 459.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003535/0.2588, allocations: 2.089 MB / 461.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.2696, allocations: 6.321 MB / 468.1 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.2716, allocations: 1.304 MB / 469.4 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.2731, allocations: 0.8856 MB / 470.3 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.397e-05/0.2731, allocations: 9 kB / 470.3 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.2732, allocations: 43.5 kB / 470.3 MB, free: 232 kB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.366e-06/0.2732, allocations: 0 / 470.3 MB, free: 232 kB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007801/0.281, allocations: 3.887 MB / 474.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.281, allocations: 68.41 kB / 474.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.2821, allocations: 0.8444 MB / 475.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.2822, allocations: 41.7 kB / 475.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006015/0.2828, allocations: 0.8514 MB / 476 MB, free: 10.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.2831, allocations: 349 kB / 476.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.2834, allocations: 174.6 kB / 476.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.2835, allocations: 345.9 kB / 476.9 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000789/0.2843, allocations: 0.4938 MB / 477.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009426/0.2853, allocations: 0.6733 MB / 478 MB, free: 8.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.287, allocations: 1.193 MB / 479.2 MB, free: 7.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.287, allocations: 8 kB / 479.3 MB, free: 7.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002708/0.2897, allocations: 1.613 MB / 480.9 MB, free: 5.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2897, allocations: 8 kB / 480.9 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.2898, allocations: 7.938 kB / 480.9 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.2909, allocations: 471 kB / 481.3 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/0.2916, allocations: 175.7 kB / 481.5 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009285/0.3008, allocations: 8.717 MB / 490.2 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000594/0.3014, allocations: 51.95 kB / 490.3 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/0.3015, allocations: 40.12 kB / 490.3 MB, free: 11.57 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.0009854/0.3025, allocations: 0.6341 MB / 491 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.3027, allocations: 111.3 kB / 491.1 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.303, allocations: 129.9 kB / 491.2 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-05/0.303, allocations: 15.98 kB / 491.2 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.303, allocations: 0 / 491.2 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.303, allocations: 7.984 kB / 491.2 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005463/0.3085, allocations: 3.046 MB / 494.3 MB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3085, allocations: 0 / 494.3 MB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/0.3091, allocations: 123.8 kB / 494.4 MB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.3101, allocations: 459.3 kB / 494.8 MB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.565e-05/0.3102, allocations: 23.98 kB / 494.8 MB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008998/0.3192, allocations: 8.644 MB / 0.4917 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3192, allocations: 4.062 kB / 0.4917 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/0.3228, allocations: 2.293 MB / 0.4939 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005764/0.3233, allocations: 211.3 kB / 0.4941 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.3235, allocations: 23.98 kB / 0.4942 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.3239, allocations: 43.89 kB / 0.4942 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.3241, allocations: 88.83 kB / 0.4943 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.434e-05/0.3242, allocations: 27.98 kB / 0.4943 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007958/0.325, allocations: 0.5888 MB / 0.4949 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.325, allocations: 4 kB / 0.4949 GB, free: 10.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001411/0.3264, allocations: 379.9 kB / 0.4953 GB, free: 10.22 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.0002615/0.3267, allocations: 151.8 kB / 0.4954 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002715/0.3294, allocations: 1.777 MB / 0.4971 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3294, allocations: 0 / 0.4971 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.3311, allocations: 1.211 MB / 0.4983 GB, free: 6.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.3323, allocations: 287 kB / 0.4986 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/0.3381, allocations: 3.673 MB / 0.5022 GB, free: 2.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.3394, allocations: 1.142 MB / 0.5033 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004732/0.3399, allocations: 184.7 kB / 0.5035 GB, free: 1.613 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.3401, allocations: 75.36 kB / 0.5035 GB, free: 1.539 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3401, allocations: 0 / 0.5035 GB, free: 1.539 MB / 414.1 MB Notification: Performance of Templates: time 0.03701/0.3771, allocations: 22.32 MB / 0.5253 GB, free: 11.56 MB / 446.1 MB " [Timeout remaining time 660] 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 -s gbode -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: 6.35581769500277]