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: 96.03 kB / 21.18 MB, free: 0.5312 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.002254/0.002254, allocations: 185 kB / 24.46 MB, free: 3.863 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.428/1.428, allocations: 225.7 MB / 253.3 MB, free: 12.83 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.001532/0.001532, allocations: 43.94 kB / 371.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2798, allocations: 52.18 MB / 423.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007544/0.2873, allocations: 5.543 MB / 429.4 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.2904, allocations: 1.605 MB / 431 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004343/0.2909, allocations: 55.62 kB / 431 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.2915, allocations: 309.5 kB / 431.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.2927, allocations: 441.2 kB / 431.8 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.2933, allocations: 351.5 kB / 432.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00218/0.2955, allocations: 2.129 MB / 434.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.2973, allocations: 1.349 MB / 435.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.2985, allocations: 1.063 MB / 436.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.3001, allocations: 1.179 MB / 437.8 MB, free: 328 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003913/0.3005, allocations: 292 kB / 438.1 MB, free: 36 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007453/0.3013, allocations: 411.6 kB / 438.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006296/0.3019, allocations: 0.7013 MB / 439.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.3029, allocations: 1.004 MB / 440.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003525/0.3065, allocations: 3.643 MB / 443.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3065, allocations: 0 / 443.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3065, allocations: 4 kB / 443.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.987e-05/0.3065, allocations: 0 / 443.9 MB, free: 10.27 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.004423/0.3109, allocations: 2.453 MB / 446.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.311, allocations: 8.031 kB / 446.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003975/0.3114, allocations: 243.5 kB / 446.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.3138, allocations: 1.235 MB / 447.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.3139, allocations: 156.5 kB / 447.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002895/0.3142, allocations: 208.1 kB / 448.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004245/0.3184, allocations: 2.639 MB / 450.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.3185, allocations: 0 / 450.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/0.3186, allocations: 83.98 kB / 450.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-05/0.3187, allocations: 59.98 kB / 450.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003591/0.3223, allocations: 2.081 MB / 453 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01093/0.3333, allocations: 6.317 MB / 459.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.3352, allocations: 1.316 MB / 460.6 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.3367, allocations: 0.8814 MB / 461.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.3368, allocations: 9 kB / 461.5 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.3368, allocations: 47.5 kB / 461.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.426e-06/0.3368, allocations: 0 / 461.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007861/0.3447, allocations: 3.883 MB / 465.5 MB, free: 4.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.3447, allocations: 72.34 kB / 465.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.3458, allocations: 0.8365 MB / 466.4 MB, free: 3.332 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.3459, allocations: 45.7 kB / 466.4 MB, free: 3.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006027/0.3465, allocations: 0.8513 MB / 467.3 MB, free: 2.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.3468, allocations: 341.1 kB / 467.6 MB, free: 2.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.3471, allocations: 178.6 kB / 467.8 MB, free: 1.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3472, allocations: 345.9 kB / 468.1 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007807/0.348, allocations: 497.6 kB / 468.6 MB, free: 1.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009144/0.3489, allocations: 0.6772 MB / 469.3 MB, free: 336 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.3506, allocations: 1.197 MB / 470.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3506, allocations: 4 kB / 470.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002677/0.3533, allocations: 1.613 MB / 472.1 MB, free: 13.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3533, allocations: 11.98 kB / 472.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.3534, allocations: 8 kB / 472.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.3544, allocations: 463.1 kB / 472.6 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.3551, allocations: 179.6 kB / 472.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009981/0.3651, allocations: 8.726 MB / 481.5 MB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007556/0.3658, allocations: 47.95 kB / 481.5 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.366, allocations: 40.12 kB / 481.5 MB, free: 3.547 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.001347/0.3673, allocations: 0.6341 MB / 482.2 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.3676, allocations: 111.3 kB / 482.3 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.3679, allocations: 129.9 kB / 482.4 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/0.368, allocations: 12 kB / 482.4 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/0.368, allocations: 4 kB / 482.4 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.368, allocations: 7.969 kB / 482.4 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006486/0.3745, allocations: 3.05 MB / 485.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.3745, allocations: 0 / 485.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005803/0.3751, allocations: 123.9 kB / 485.6 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.3761, allocations: 451.2 kB / 486 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.979e-05/0.3762, allocations: 23.98 kB / 486.1 MB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/0.3902, allocations: 8.643 MB / 494.7 MB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.3902, allocations: 4.031 kB / 494.7 MB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006324/0.3965, allocations: 2.293 MB / 497 MB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.3976, allocations: 211.2 kB / 497.2 MB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/0.3979, allocations: 27.98 kB / 497.2 MB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008956/0.3988, allocations: 39.89 kB / 497.3 MB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003775/0.3991, allocations: 92.83 kB / 497.4 MB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.3993, allocations: 24 kB / 497.4 MB, free: 3.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001518/0.4008, allocations: 0.5849 MB / 498 MB, free: 2.578 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4008, allocations: 0 / 498 MB, free: 2.578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002692/0.4035, allocations: 376 kB / 498.3 MB, free: 2.211 MB / 398.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.0004655/0.4039, allocations: 162.5 kB / 498.5 MB, free: 2.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004586/0.4085, allocations: 1.773 MB / 0.4886 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.4085, allocations: 0 / 0.4886 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002649/0.4112, allocations: 1.207 MB / 0.4897 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.4134, allocations: 275.2 kB / 0.49 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.424, allocations: 3.666 MB / 0.4936 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/0.4263, allocations: 1.111 MB / 0.4947 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/0.4267, allocations: 67.44 kB / 0.4947 GB, free: 9.766 MB / 414.1 MB Notification: Performance of SimCode: time 1.482e-06/0.4267, allocations: 0 / 0.4947 GB, free: 9.766 MB / 414.1 MB Notification: Performance of Templates: time 0.2675/0.6942, allocations: 59.11 MB / 0.5525 GB, free: 101.7 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.153784429654479]