Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 108.6 kB / 21.18 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00246/0.00246, allocations: 189.9 kB / 24.47 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.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.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 51.92 kB / 371.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.243, allocations: 52.18 MB / 423.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008338/0.2514, allocations: 6.297 MB / 430.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004187/0.2556, allocations: 1.667 MB / 431.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009715/0.2565, allocations: 51.69 kB / 431.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007108/0.2572, allocations: 305.5 kB / 432.2 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.2589, allocations: 437.2 kB / 432.6 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000814/0.2597, allocations: 351.5 kB / 433 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002779/0.2625, allocations: 2.141 MB / 435.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.2645, allocations: 1.397 MB / 436.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.2661, allocations: 1.059 MB / 437.6 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.2683, allocations: 1.237 MB / 438.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005159/0.2688, allocations: 292 kB / 439.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009695/0.2698, allocations: 499.6 kB / 439.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007198/0.2705, allocations: 0.709 MB / 440.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.2722, allocations: 1.229 MB / 441.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004807/0.277, allocations: 3.639 MB / 445.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.277, allocations: 0 / 445.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.277, allocations: 8 kB / 445.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001091/0.2771, allocations: 0 / 445.1 MB, free: 9.242 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.005772/0.2828, allocations: 2.449 MB / 447.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2829, allocations: 12.03 kB / 447.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005077/0.2834, allocations: 239.5 kB / 447.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.286, allocations: 1.239 MB / 449.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.2862, allocations: 160.5 kB / 449.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003535/0.2865, allocations: 208.1 kB / 449.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00515/0.2917, allocations: 2.61 MB / 452.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/0.2917, allocations: 4 kB / 452.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/0.2919, allocations: 80 kB / 452.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-05/0.292, allocations: 56 kB / 452.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003907/0.2959, allocations: 2.089 MB / 454.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.3088, allocations: 7.204 MB / 461.5 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.3109, allocations: 1.308 MB / 462.8 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.3126, allocations: 0.8815 MB / 463.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.233e-05/0.3126, allocations: 20.92 kB / 463.7 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.3127, allocations: 43.5 kB / 463.7 MB, free: 6.285 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 5.67e-06/0.3127, allocations: 4 kB / 463.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.00828/0.321, allocations: 3.891 MB / 467.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.321, allocations: 68.34 kB / 467.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.3223, allocations: 0.8564 MB / 468.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.051e-05/0.3223, allocations: 45.69 kB / 468.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006664/0.323, allocations: 0.8514 MB / 469.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/0.3233, allocations: 341.1 kB / 469.8 MB, free: 160 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/0.3237, allocations: 182.6 kB / 470 MB, free: 15.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3238, allocations: 345.9 kB / 470.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008411/0.3247, allocations: 497.7 kB / 470.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009754/0.3256, allocations: 0.6694 MB / 471.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.3275, allocations: 1.197 MB / 472.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3275, allocations: 4 kB / 472.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002899/0.3304, allocations: 1.621 MB / 474.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.3304, allocations: 8 kB / 474.3 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.3304, allocations: 4 kB / 474.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.3316, allocations: 478.8 kB / 474.8 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.3323, allocations: 175.8 kB / 474.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.3425, allocations: 8.884 MB / 483.8 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/0.3432, allocations: 51.95 kB / 483.9 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.3434, allocations: 36 kB / 483.9 MB, free: 1.406 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.001173/0.3445, allocations: 0.6379 MB / 484.5 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.3448, allocations: 107.3 kB / 484.6 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.3451, allocations: 134 kB / 484.8 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/0.3451, allocations: 12 kB / 484.8 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.3452, allocations: 4 kB / 484.8 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.3452, allocations: 15.91 kB / 484.8 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006368/0.3515, allocations: 3.438 MB / 488.2 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3515, allocations: 4.062 kB / 488.2 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/0.3521, allocations: 127.8 kB / 488.4 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.3531, allocations: 463.2 kB / 488.8 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/0.3532, allocations: 20 kB / 488.8 MB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009553/0.3627, allocations: 8.789 MB / 497.6 MB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3627, allocations: 4.125 kB / 497.6 MB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003746/0.3665, allocations: 2.301 MB / 499.9 MB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/0.3671, allocations: 207.3 kB / 0.4884 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.3672, allocations: 24 kB / 0.4884 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.3677, allocations: 39.95 kB / 0.4885 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.3679, allocations: 104.7 kB / 0.4886 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/0.3679, allocations: 20 kB / 0.4886 GB, free: 392 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008669/0.3688, allocations: 0.6084 MB / 0.4892 GB, free: 15.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3688, allocations: 0 / 0.4892 GB, free: 15.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001488/0.3703, allocations: 379.9 kB / 0.4895 GB, free: 15.41 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.000314/0.3706, allocations: 158.5 kB / 0.4897 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002981/0.3736, allocations: 1.768 MB / 0.4914 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3736, allocations: 0 / 0.4914 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.3754, allocations: 1.212 MB / 0.4926 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.3768, allocations: 306.1 kB / 0.4929 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006779/0.3836, allocations: 3.652 MB / 0.4965 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/0.3852, allocations: 1.691 MB / 0.4981 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.3855, allocations: 79.36 kB / 0.4982 GB, free: 6.371 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3855, allocations: 0 / 0.4982 GB, free: 6.371 MB / 414.1 MB Notification: Performance of Templates: time 0.2488/0.6344, allocations: 58.64 MB / 0.5555 GB, free: 98.27 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.219387667952105]